Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.682/1.682, allocations: 390.4 MB / 397.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009208/0.0009209, allocations: 185.2 kB / 490.8 MB, free: 1.922 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.042/1.042, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007961/0.0007962, allocations: 88.08 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.483e-06/6.502e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1636, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.6042, allocations: 154 MB / 1.362 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.6044, allocations: 89.52 kB / 1.362 GB, free: 17.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01524/0.6197, allocations: 7.06 MB / 1.369 GB, free: 16.73 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.139e-05/0.6197, allocations: 17.09 kB / 1.369 GB, free: 16.72 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0007677/0.6205, allocations: 0.6608 MB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.6205, allocations: 8.438 kB / 1.37 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.16e-05/0.6206, allocations: 59.45 kB / 1.37 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.6211, allocations: 388 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.6211, allocations: 13.91 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.6212, allocations: 35.06 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004219/0.6216, allocations: 274.4 kB / 1.37 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/0.6221, allocations: 351.1 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.6221, allocations: 0 / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.6222, allocations: 1.156 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.6222, allocations: 10.16 kB / 1.371 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/0.6238, allocations: 1.253 MB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.6242, allocations: 239 kB / 1.372 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.6244, allocations: 117.3 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.6244, allocations: 7.547 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.6246, allocations: 190 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.6246, allocations: 3.984 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0003667/0.625, allocations: 238.2 kB / 1.373 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.625, allocations: 162.7 kB / 1.373 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.6252, allocations: 238 kB / 1.373 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.6253, allocations: 31.67 kB / 1.373 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.6254, allocations: 204.5 kB / 1.373 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.6254, allocations: 85.27 kB / 1.373 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.6255, allocations: 4.406 kB / 1.373 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6256, allocations: 337.6 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.6257, allocations: 102.8 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.6259, allocations: 176.4 kB / 1.374 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.6262, allocations: 132.6 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6262, allocations: 0 / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000563/0.6268, allocations: 332 kB / 1.374 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.6269, allocations: 278.6 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6269, allocations: 1.094 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.6269, allocations: 3.5 kB / 1.375 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.6272, allocations: 65.36 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6272, allocations: 2.188 kB / 1.375 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.6276, allocations: 76.8 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.6276, allocations: 16.5 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-06/0.6276, allocations: 3.094 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004888/0.6281, allocations: 273.8 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.6281, allocations: 1.188 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.6281, allocations: 2.125 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.6284, allocations: 54.84 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.6284, allocations: 3.828 kB / 1.375 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.6287, allocations: 72.62 kB / 1.375 GB, free: 29.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.6287, allocations: 14.5 kB / 1.375 GB, free: 29.94 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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 8.58e-05/0.6288, allocations: 111.7 kB / 1.375 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.6288, allocations: 29 kB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.6292, allocations: 281.4 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6293, allocations: 9.891 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6293, allocations: 0 / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6293, allocations: 1.547 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.63, allocations: 0.7527 MB / 1.376 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.63, allocations: 1.188 kB / 1.376 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.6302, allocations: 63 kB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.6302, allocations: 2.375 kB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.6303, allocations: 5.078 kB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6303, allocations: 1.469 kB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6303, allocations: 1.656 kB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005311/0.6308, allocations: 0.5229 MB / 1.377 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.6309, allocations: 117 kB / 1.377 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.6309, allocations: 2.031 kB / 1.377 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.6311, allocations: 24.95 kB / 1.377 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.6312, allocations: 16.03 kB / 1.377 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.6312, allocations: 13.14 kB / 1.377 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001741/0.6314, allocations: 184.9 kB / 1.377 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004438/0.6318, allocations: 161.6 kB / 1.377 GB, free: 28.96 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001296/0.632, allocations: 126.8 kB / 1.378 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006414/0.6326, allocations: 466.4 kB / 1.378 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6326, allocations: 12.84 kB / 1.378 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.6328, allocations: 116.1 kB / 1.378 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.6331, allocations: 58.52 kB / 1.378 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.634, allocations: 482.8 kB / 1.379 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.6344, allocations: 0.854 MB / 1.379 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.6344, allocations: 4 kB / 1.379 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of Templates: time 0.008619/0.643, allocations: 5.398 MB / 1.385 GB, free: 26.55 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches