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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.25/3.25, allocations: 472.7 MB / 0.7452 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001607, allocations: 70.08 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.5328, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.005893/0.5388, allocations: 1.668 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.5403, allocations: 0.503 MB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002621/0.5406, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009455/0.5416, allocations: 187.8 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0006674/0.5422, allocations: 167.2 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.5429, allocations: 187.2 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.5434, allocations: 203.5 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.5436, allocations: 41.52 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.5439, allocations: 79.73 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.5442, allocations: 159.5 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.281e-05/0.5443, allocations: 12 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.5445, allocations: 39.98 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.5447, allocations: 83.73 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.5449, allocations: 95.28 kB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.5455, allocations: 263.3 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5455, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.466e-06/0.5455, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.5455, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8262 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.001351/0.5469, allocations: 0.5797 MB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.547, allocations: 8.031 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.5471, allocations: 32.56 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000726/0.5478, allocations: 374.3 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.5479, allocations: 4.375 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.5479, allocations: 8.312 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.5482, allocations: 81.72 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5482, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5482, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5482, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.5485, allocations: 55.95 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.5493, allocations: 424.5 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.5495, allocations: 50.55 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.5496, allocations: 29 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.5496, allocations: 3.938 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5497, allocations: 30.56 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 3.977e-06/0.5497, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.00049/0.5502, allocations: 121.3 kB / 1.074 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.5503, allocations: 55.41 kB / 1.074 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/0.551, allocations: 0.5132 MB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.551, allocations: 25.7 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.5511, allocations: 160.1 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.5512, allocations: 15.81 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.5512, allocations: 13.72 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5514, allocations: 346.8 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.5515, allocations: 27.97 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.8e-05/0.5516, allocations: 19.92 kB / 1.075 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.5518, allocations: 52.81 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5518, allocations: 0 / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002672/0.5521, allocations: 89.38 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.5521, allocations: 4 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5521, allocations: 8 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5521, allocations: 0 / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.5523, allocations: 11.98 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5523, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.5524, allocations: 19.78 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.5524, allocations: 0 / 1.075 GB, free: 3.391 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.5526, allocations: 174.6 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.5527, allocations: 23.72 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.553, allocations: 112.4 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.553, allocations: 0 / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.553, allocations: 3.984 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.553, allocations: 3.938 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.5533, allocations: 269.4 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.5533, allocations: 3.938 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.527e-05/0.5534, allocations: 11.98 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.5534, allocations: 0 / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.5534, allocations: 8 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5534, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5535, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.5538, allocations: 191.1 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.58e-05/0.5539, allocations: 116.7 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.5539, allocations: 3.938 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.554, allocations: 8 kB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.5541, allocations: 3.984 kB / 1.076 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.5541, allocations: 7.938 kB / 1.076 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004616/0.5546, allocations: 383.1 kB / 1.076 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5546, allocations: 4 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002692/0.5548, allocations: 16 kB / 1.076 GB, free: 1.973 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 (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.0009563/0.5558, allocations: 355.9 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.5561, allocations: 43.89 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5561, allocations: 0 / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.057e-05/0.5562, allocations: 23.98 kB / 1.077 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.5567, allocations: 57.86 kB / 1.077 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/0.5576, allocations: 471.6 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.558, allocations: 0.7787 MB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.411e-05/0.5581, allocations: 37.92 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.5582, allocations: 19.44 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of SimCode: time 8.12e-07/0.5582, allocations: 0 / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of Templates: time 0.006767/0.565, allocations: 2.277 MB / 1.08 GB, free: 14.02 MB / 0.8419 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