Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004852/0.004852, allocations: 99.45 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 194.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.617/2.617, allocations: 469.4 MB / 0.7422 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 60.12 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9904/0.9917, allocations: 159.1 MB / 1.22 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Multiply): time 0.004167/0.996, allocations: 2.001 MB / 1.222 GB, free: 228 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.9984, allocations: 1.201 MB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.9986, allocations: 7.938 kB / 1.223 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005503/0.9992, allocations: 159.4 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.9998, allocations: 155.4 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/1, allocations: 226.7 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005335/1.001, allocations: 315.2 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/1.001, allocations: 48.38 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/1.002, allocations: 151.4 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/1.002, allocations: 143.4 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/1.002, allocations: 16 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/1.002, allocations: 67.89 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/1.002, allocations: 79.75 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001461/1.002, allocations: 127.1 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/1.003, allocations: 366.1 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/1.003, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.052e-06/1.003, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.003, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001264/1.004, allocations: 0.6454 MB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.004, allocations: 8.625 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.611e-05/1.004, allocations: 42.73 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/1.004, allocations: 36.64 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/1.005, allocations: 370.2 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/1.005, allocations: 12 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/1.005, allocations: 8 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/1.005, allocations: 111.2 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.005, allocations: 0 / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.006, allocations: 4 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/1.006, allocations: 4 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/1.006, allocations: 59.89 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008812/1.007, allocations: 0.4887 MB / 1.226 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/1.007, allocations: 134.7 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.007, allocations: 44.83 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/1.007, allocations: 4 kB / 1.227 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/1.007, allocations: 131.2 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/1.007, allocations: 3.938 kB / 1.227 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005769/1.008, allocations: 224.6 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.008, allocations: 55.41 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005956/1.009, allocations: 0.5015 MB / 1.227 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/1.009, allocations: 29.7 kB / 1.227 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/1.009, allocations: 176.4 kB / 1.228 GB, free: 9.914 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/1.009, allocations: 35.75 kB / 1.228 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/1.009, allocations: 65.97 kB / 1.228 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.009, allocations: 350.8 kB / 1.228 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.009, allocations: 96.52 kB / 1.228 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/1.01, allocations: 135.6 kB / 1.228 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/1.01, allocations: 186.5 kB / 1.228 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.01, allocations: 0 / 1.228 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005796/1.011, allocations: 325.3 kB / 1.229 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.011, allocations: 7.938 kB / 1.229 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.011, allocations: 4 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.011, allocations: 0 / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/1.011, allocations: 59.97 kB / 1.229 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.011, allocations: 4 kB / 1.229 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/1.011, allocations: 19.88 kB / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/1.011, allocations: 8 kB / 1.229 GB, free: 8.602 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt2.y,reaToInt1.y,product.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/1.011, allocations: 182.2 kB / 1.229 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/1.011, allocations: 43.64 kB / 1.229 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/1.011, allocations: 39.11 kB / 1.229 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/1.011, allocations: 0 / 1.229 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.011, allocations: 4 kB / 1.229 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.011, allocations: 3.938 kB / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002862/1.012, allocations: 305.4 kB / 1.229 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.012, allocations: 0 / 1.229 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.38e-05/1.012, allocations: 15.94 kB / 1.229 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.012, allocations: 3.938 kB / 1.229 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/1.012, allocations: 3.984 kB / 1.229 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.012, allocations: 4 kB / 1.229 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.012, allocations: 0 / 1.229 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/1.012, allocations: 208.8 kB / 1.23 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/1.012, allocations: 116.8 kB / 1.23 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/1.012, allocations: 8 kB / 1.23 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.852e-05/1.013, allocations: 11.98 kB / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/1.013, allocations: 11.98 kB / 1.23 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/1.013, allocations: 15.98 kB / 1.23 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003655/1.013, allocations: 311.1 kB / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.2e-07/1.013, allocations: 0 / 1.23 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003008/1.013, allocations: 63.88 kB / 1.23 GB, free: 7.184 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,product.y,reaToInt1.y,reaToInt2.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/1.015, allocations: 1.06 MB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004359/1.015, allocations: 196.1 kB / 1.231 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.015, allocations: 0 / 1.231 GB, free: 6.062 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/1.016, allocations: 67.89 kB / 1.231 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/1.016, allocations: 97.66 kB / 1.232 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/1.02, allocations: 3.109 MB / 1.235 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/1.021, allocations: 0.787 MB / 1.235 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001635/1.021, allocations: 50.95 kB / 1.235 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/1.021, allocations: 107.4 kB / 1.236 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.021, allocations: 0 / 1.236 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/1.051, allocations: 7.151 MB / 1.243 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/9.276, allocations: 9.594 kB / 1.243 GB, free: 10.74 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Multiply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches