Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [: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.784/1.784, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009712/0.0009712, allocations: 177.3 kB / 490.8 MB, free: 1.953 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.157/1.157, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0008426/0.0008427, allocations: 91.34 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.372e-06/6.392e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.7194, allocations: 154.6 MB / 1.363 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.7198, allocations: 90.7 kB / 1.363 GB, free: 17.49 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02091/0.7407, allocations: 8.489 MB / 1.371 GB, free: 16.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.7408, allocations: 8.906 kB / 1.371 GB, free: 16.93 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008817/0.7417, allocations: 0.6833 MB / 1.372 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.7417, allocations: 9.484 kB / 1.372 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.7418, allocations: 55.31 kB / 1.372 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.7425, allocations: 473 kB / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.7425, allocations: 9.594 kB / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.834e-05/0.7425, allocations: 16.31 kB / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004047/0.7429, allocations: 216.2 kB / 1.372 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.7434, allocations: 348.1 kB / 1.373 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.7434, allocations: 0 / 1.373 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.7435, allocations: 1.031 kB / 1.373 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.7435, allocations: 12.59 kB / 1.373 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.7451, allocations: 1.507 MB / 1.374 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.7456, allocations: 245.1 kB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.7457, allocations: 113.1 kB / 1.375 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.7458, allocations: 4.375 kB / 1.375 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.7458, allocations: 36.56 kB / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.7458, allocations: 0 / 1.375 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004306/0.7462, allocations: 247.3 kB / 1.375 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.7463, allocations: 156.6 kB / 1.375 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.7466, allocations: 345.2 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.7467, allocations: 25.7 kB / 1.375 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.7468, allocations: 187.6 kB / 1.376 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.7468, allocations: 74.09 kB / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.7468, allocations: 0 / 1.376 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7469, allocations: 360.1 kB / 1.376 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.7471, allocations: 80.38 kB / 1.376 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.7473, allocations: 172.2 kB / 1.376 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.7474, allocations: 97.92 kB / 1.376 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7474, allocations: 1.188 kB / 1.376 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004037/0.7478, allocations: 286.3 kB / 1.377 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.7478, allocations: 4.375 kB / 1.377 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7479, allocations: 2.062 kB / 1.377 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.7479, allocations: 2.5 kB / 1.377 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.7482, allocations: 74.98 kB / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7482, allocations: 3.344 kB / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.7485, allocations: 44.56 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.7485, allocations: 13.23 kB / 1.377 GB, free: 30.04 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 9.098e-05/0.7486, allocations: 118.9 kB / 1.377 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.183e-05/0.7487, allocations: 45.56 kB / 1.377 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.492e-05/0.7488, allocations: 50.73 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7488, allocations: 6.312 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7488, allocations: 0.5156 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.7488, allocations: 2.766 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004388/0.7493, allocations: 425.1 kB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7493, allocations: 0 / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.7496, allocations: 67.81 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.7496, allocations: 1.734 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.7497, allocations: 3.234 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7497, allocations: 1.031 kB / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7497, allocations: 0 / 1.377 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006466/0.7503, allocations: 0.4902 MB / 1.378 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.7505, allocations: 151.4 kB / 1.378 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/0.7505, allocations: 2.406 kB / 1.378 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.7508, allocations: 37.53 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.7509, allocations: 15.2 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.7509, allocations: 5.484 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002715/0.7512, allocations: 265.5 kB / 1.378 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003229/0.7515, allocations: 71.19 kB / 1.378 GB, free: 29.31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001217/0.7517, allocations: 100.2 kB / 1.378 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.752, allocations: 222.1 kB / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.752, allocations: 0 / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.7522, allocations: 112.8 kB / 1.379 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.7528, allocations: 103.9 kB / 1.379 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.7538, allocations: 0.5002 MB / 1.379 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004833/0.7543, allocations: 0.8663 MB / 1.38 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.7543, allocations: 1 kB / 1.38 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of Templates: time 0.008826/0.7632, allocations: 4.539 MB / 1.385 GB, free: 27.06 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches