Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",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.01043/0.01043, allocations: 100 kB / 15.73 MB, free: 6.023 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.002222/0.002222, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.625/1.625, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.004/3.004, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3588, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003936/0.3628, allocations: 1.654 MB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.364, allocations: 0.5113 MB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.3642, allocations: 4 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006253/0.3648, allocations: 170.8 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.3653, allocations: 157.8 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005193/0.3658, allocations: 196.8 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.3662, allocations: 207.5 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3663, allocations: 37.8 kB / 1.21 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.3665, allocations: 75.75 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.3668, allocations: 163.6 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.3668, allocations: 12 kB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.367, allocations: 43.92 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3671, allocations: 83.75 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.3672, allocations: 95.28 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.3676, allocations: 267 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3676, allocations: 0 / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3676, allocations: 0 / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.3677, allocations: 0 / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001017/0.3687, allocations: 0.5874 MB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3687, allocations: 8.625 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.3688, allocations: 46.73 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.3689, allocations: 28.56 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.3694, allocations: 362.4 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3694, allocations: 384 / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3695, allocations: 8.375 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3697, allocations: 73.53 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3697, allocations: 0 / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3697, allocations: 8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3697, allocations: 11.88 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.3699, allocations: 47.95 kB / 1.212 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.3705, allocations: 432.5 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3707, allocations: 54.61 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.023e-05/0.3708, allocations: 24.83 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3708, allocations: 4 kB / 1.212 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.3709, allocations: 30.66 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3709, allocations: 3.938 kB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004228/0.3713, allocations: 121.3 kB / 1.213 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3713, allocations: 51.41 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.3719, allocations: 0.5093 MB / 1.213 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.372, allocations: 29.7 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3721, allocations: 164 kB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3721, allocations: 11.84 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.3722, allocations: 13.72 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3723, allocations: 346.8 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.3724, allocations: 19.98 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.3725, allocations: 20.16 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3727, allocations: 48.75 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3727, allocations: 0 / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002463/0.3729, allocations: 101.3 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.373, allocations: 8 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.373, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.373, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.3731, allocations: 11.98 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3731, allocations: 0 / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.3732, allocations: 11.92 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.3732, allocations: 4 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.000145/0.3733, allocations: 166.3 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3734, allocations: 31.62 kB / 1.214 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.3737, allocations: 112 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3737, allocations: 0 / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3737, allocations: 4 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3737, allocations: 3.938 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.374, allocations: 257.5 kB / 1.214 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.374, allocations: 3.938 kB / 1.214 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.3741, allocations: 11.98 kB / 1.214 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3741, allocations: 4 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3741, allocations: 4 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3741, allocations: 4 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3741, allocations: 3.984 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3744, allocations: 203 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.3745, allocations: 108.8 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.3746, allocations: 4 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.3747, allocations: 7.984 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.3747, allocations: 7.938 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3747, allocations: 0 / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003832/0.3751, allocations: 387.1 kB / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3751, allocations: 0 / 1.215 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002611/0.3754, allocations: 24 kB / 1.215 GB, free: 1.703 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001336/0.3767, allocations: 0.9767 MB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.377, allocations: 39.97 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.377, allocations: 0 / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.3771, allocations: 27.97 kB / 1.216 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3776, allocations: 50.06 kB / 1.216 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.3807, allocations: 2.592 MB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.3811, allocations: 0.771 MB / 1.22 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.433e-05/0.3812, allocations: 33.94 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.3813, allocations: 87.41 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3813, allocations: 0 / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.4048, allocations: 5.122 MB / 1.225 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.235/8.64, allocations: 11.39 kB / 1.225 GB, free: 8.105 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches