Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [: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 2.04/2.04, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001011/0.001011, allocations: 181.3 kB / 490.8 MB, free: 1.918 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.453/1.453, allocations: 221.4 MB / 0.7863 GB, free: 13.65 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.0009248/0.0009246, allocations: 79.34 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.123e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2952, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.501/3.796, allocations: 1.732 GB / 2.943 GB, free: 140.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/3.796, allocations: 83.95 kB / 2.943 GB, free: 140.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1018/3.898, allocations: 54.37 MB / 2.997 GB, free: 85.73 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.155e-05/3.898, allocations: 15.98 kB / 2.997 GB, free: 85.71 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001183/3.899, allocations: 0.9073 MB / 2.997 GB, free: 84.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/3.9, allocations: 8.031 kB / 2.997 GB, free: 84.74 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/3.901, allocations: 202.7 kB / 2.998 GB, free: 84.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/3.902, allocations: 0.5269 MB / 2.998 GB, free: 83.97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/3.902, allocations: 4 kB / 2.998 GB, free: 83.97 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/3.902, allocations: 15.94 kB / 2.998 GB, free: 83.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004577/3.902, allocations: 284.5 kB / 2.998 GB, free: 83.68 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/3.903, allocations: 282.7 kB / 2.999 GB, free: 83.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/3.903, allocations: 0 / 2.999 GB, free: 83.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/3.903, allocations: 0 / 2.999 GB, free: 83.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/3.903, allocations: 4 kB / 2.999 GB, free: 83.38 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/3.905, allocations: 1.174 MB / 3 GB, free: 82.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/3.905, allocations: 341.5 kB / 3 GB, free: 81.81 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/3.906, allocations: 173.7 kB / 3 GB, free: 81.63 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/3.906, allocations: 4 kB / 3 GB, free: 81.63 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/3.906, allocations: 270.4 kB / 3.001 GB, free: 81.35 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.733e-06/3.906, allocations: 0 / 3.001 GB, free: 81.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.003254/3.909, allocations: 0.6258 MB / 3.001 GB, free: 80.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/3.909, allocations: 85.11 kB / 3.001 GB, free: 80.61 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/3.911, allocations: 1.165 MB / 3.002 GB, free: 79.44 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/3.911, allocations: 29.69 kB / 3.002 GB, free: 79.41 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/3.911, allocations: 192.4 kB / 3.003 GB, free: 79.21 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/3.911, allocations: 86.72 kB / 3.003 GB, free: 79.13 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/3.911, allocations: 0 / 3.003 GB, free: 79.13 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/3.911, allocations: 321.9 kB / 3.003 GB, free: 78.81 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/3.911, allocations: 143.9 kB / 3.003 GB, free: 78.67 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/3.911, allocations: 201.9 kB / 3.003 GB, free: 78.45 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/3.912, allocations: 170.4 kB / 3.004 GB, free: 78.29 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/3.912, allocations: 0 / 3.004 GB, free: 78.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003064/3.915, allocations: 0.6496 MB / 3.004 GB, free: 77.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/3.915, allocations: 4 kB / 3.004 GB, free: 77.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/3.915, allocations: 0 / 3.004 GB, free: 77.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/3.915, allocations: 128.8 kB / 3.004 GB, free: 77.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/3.916, allocations: 59.91 kB / 3.004 GB, free: 77.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/3.92, allocations: 1.849 MB / 3.006 GB, free: 75.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/3.92, allocations: 35.88 kB / 3.006 GB, free: 75.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/3.92, allocations: 15.98 kB / 3.006 GB, free: 75.41 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001168/3.921, allocations: 113.9 kB / 3.006 GB, free: 75.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/3.921, allocations: 82.88 kB / 3.006 GB, free: 75.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/3.924, allocations: 0.7627 MB / 3.007 GB, free: 74.44 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/3.924, allocations: 4 kB / 3.007 GB, free: 74.44 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/3.924, allocations: 0 / 3.007 GB, free: 74.44 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/3.924, allocations: 4 kB / 3.007 GB, free: 74.43 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/3.925, allocations: 0.6095 MB / 3.008 GB, free: 73.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/3.925, allocations: 0 / 3.008 GB, free: 73.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/3.925, allocations: 59.91 kB / 3.008 GB, free: 73.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003108/3.925, allocations: 128.6 kB / 3.008 GB, free: 73.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/3.925, allocations: 11.97 kB / 3.008 GB, free: 73.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/3.929, allocations: 1.83 MB / 3.01 GB, free: 71.64 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/3.929, allocations: 0 / 3.01 GB, free: 71.64 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003219/3.932, allocations: 0.7124 MB / 3.01 GB, free: 70.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/3.933, allocations: 223.9 kB / 3.011 GB, free: 70.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/3.933, allocations: 8 kB / 3.011 GB, free: 70.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/3.933, allocations: 32.03 kB / 3.011 GB, free: 70.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/3.933, allocations: 19.95 kB / 3.011 GB, free: 70.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/3.934, allocations: 19.98 kB / 3.011 GB, free: 70.59 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009905/3.935, allocations: 0.9325 MB / 3.012 GB, free: 69.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008137/3.935, allocations: 211.7 kB / 3.012 GB, free: 69.45 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/3.937, allocations: 0.9119 MB / 3.013 GB, free: 68.62 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009643/3.938, allocations: 489.8 kB / 3.013 GB, free: 68.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/3.938, allocations: 0 / 3.013 GB, free: 68.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004946/3.938, allocations: 337.7 kB / 3.013 GB, free: 67.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/3.939, allocations: 95.42 kB / 3.014 GB, free: 67.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/3.941, allocations: 1.38 MB / 3.015 GB, free: 66.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/3.942, allocations: 1.051 MB / 3.016 GB, free: 65.21 MB / 1.151 GB Notification: Performance of SimCode: time 3.5e-07/3.942, allocations: 0 / 3.016 GB, free: 65.21 MB / 1.151 GB Notification: Performance of Templates: time 0.02063/3.963, allocations: 14.62 MB / 3.03 GB, free: 50.62 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches