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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001319/0.001319, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.979/2.979, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003955, allocations: 9.203 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4175, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003151/0.4207, allocations: 1.334 MB / 1.059 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.4222, allocations: 491.5 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4224, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.4231, allocations: 175.5 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005177/0.4236, allocations: 135 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007312/0.4244, allocations: 162.9 kB / 1.06 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.4248, allocations: 175.5 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.4249, allocations: 41.42 kB / 1.06 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.4251, allocations: 67.69 kB / 1.061 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.4254, allocations: 135.6 kB / 1.061 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.804e-05/0.4255, allocations: 4 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.4256, allocations: 27.98 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.4258, allocations: 75.75 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.305e-05/0.4259, allocations: 53.58 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003771/0.4263, allocations: 207.8 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4263, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4263, allocations: 4 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.4263, allocations: 4 kB / 1.061 GB, free: 2.266 MB / 0.8106 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.001174/0.4275, allocations: 0.5525 MB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4276, allocations: 8.031 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4277, allocations: 31.7 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.4284, allocations: 357.4 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4285, allocations: 0 / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.4285, allocations: 11.95 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.4288, allocations: 77.59 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.4288, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.4288, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.4289, allocations: 4 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.4292, allocations: 63.95 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009797/0.4302, allocations: 424.5 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.4305, allocations: 58.55 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.4307, allocations: 28.91 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.4308, allocations: 3.984 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.4308, allocations: 38.56 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.4308, allocations: 0 / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000757/0.4316, allocations: 129.3 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.4317, allocations: 55.41 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4328, allocations: 0.5132 MB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.4329, allocations: 25.7 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.4331, allocations: 172 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.4332, allocations: 3.906 kB / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.4332, allocations: 0 / 1.063 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.4334, allocations: 350.7 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.4336, allocations: 23.98 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.4338, allocations: 28.16 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.4339, allocations: 32 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.434, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004554/0.4344, allocations: 113.2 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4345, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4345, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4345, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4347, allocations: 15.98 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4347, allocations: 4 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.4349, allocations: 19.92 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4349, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002548/0.4352, allocations: 173.8 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.4353, allocations: 27.62 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005144/0.4358, allocations: 128 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4358, allocations: 0 / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4358, allocations: 0 / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4359, allocations: 4 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.4363, allocations: 265.5 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4363, allocations: 0 / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4364, allocations: 11.98 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.4364, allocations: 4 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4365, allocations: 4 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4365, allocations: 3.984 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4365, allocations: 4 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.437, allocations: 211.1 kB / 1.065 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.4371, allocations: 116.7 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.4372, allocations: 4 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.4374, allocations: 7.938 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4375, allocations: 7.984 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.4375, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007268/0.4382, allocations: 387.1 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4382, allocations: 4 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005108/0.4388, allocations: 20 kB / 1.065 GB, free: 13.48 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.4401, allocations: 335.2 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.4405, allocations: 59.95 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4405, allocations: 0 / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4407, allocations: 35.91 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006725/0.4414, allocations: 51.25 kB / 1.066 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4427, allocations: 0.4884 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.4433, allocations: 0.7791 MB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.4435, allocations: 33.94 kB / 1.067 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.538e-05/0.4436, allocations: 19.44 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.4436, allocations: 0 / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of Templates: time 0.009429/0.4531, allocations: 2.076 MB / 1.069 GB, free: 9.699 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile (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 & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches