Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.935/1.935, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001125/0.001125, allocations: 177.3 kB / 487 MB, free: 5.371 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.258/1.258, allocations: 221.3 MB / 0.7819 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009468, allocations: 103 kB / 0.9213 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.492e-06/6.582e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.641/3.902, allocations: 1.731 GB / 2.936 GB, free: 124.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/3.903, allocations: 78.14 kB / 2.936 GB, free: 124.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.104/4.007, allocations: 54.37 MB / 2.989 GB, free: 68.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.267e-05/4.007, allocations: 15.94 kB / 2.989 GB, free: 68.97 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.001227/4.008, allocations: 0.9035 MB / 2.99 GB, free: 68.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/4.008, allocations: 8.031 kB / 2.99 GB, free: 68.01 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/4.01, allocations: 202.7 kB / 2.99 GB, free: 67.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/4.011, allocations: 0.523 MB / 2.991 GB, free: 67.24 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/4.011, allocations: 8 kB / 2.991 GB, free: 67.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/4.011, allocations: 19.94 kB / 2.991 GB, free: 67.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004777/4.011, allocations: 288.6 kB / 2.991 GB, free: 66.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/4.012, allocations: 270.7 kB / 2.992 GB, free: 66.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/4.012, allocations: 4 kB / 2.992 GB, free: 66.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/4.012, allocations: 0 / 2.992 GB, free: 66.65 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/4.012, allocations: 7.984 kB / 2.992 GB, free: 66.64 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/4.014, allocations: 1.183 MB / 2.993 GB, free: 65.41 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/4.014, allocations: 337.6 kB / 2.993 GB, free: 65.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/4.014, allocations: 177.7 kB / 2.993 GB, free: 64.88 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/4.014, allocations: 4 kB / 2.993 GB, free: 64.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003023/4.015, allocations: 273.8 kB / 2.993 GB, free: 64.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.953e-06/4.015, allocations: 0 / 2.993 GB, free: 64.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.003182/4.018, allocations: 0.6194 MB / 2.994 GB, free: 63.96 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/4.018, allocations: 81.11 kB / 2.994 GB, free: 63.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/4.019, allocations: 1.169 MB / 2.995 GB, free: 62.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.414e-05/4.02, allocations: 29.7 kB / 2.995 GB, free: 62.66 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/4.02, allocations: 192.4 kB / 2.995 GB, free: 62.47 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/4.02, allocations: 94.72 kB / 2.996 GB, free: 62.38 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/4.02, allocations: 0 / 2.996 GB, free: 62.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/4.02, allocations: 321.9 kB / 2.996 GB, free: 62.05 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/4.02, allocations: 143.9 kB / 2.996 GB, free: 61.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/4.02, allocations: 197.7 kB / 2.996 GB, free: 61.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/4.021, allocations: 170.8 kB / 2.996 GB, free: 61.54 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/4.021, allocations: 0 / 2.996 GB, free: 61.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003065/4.024, allocations: 0.6378 MB / 2.997 GB, free: 60.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/4.024, allocations: 8.062 kB / 2.997 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/4.024, allocations: 7.938 kB / 2.997 GB, free: 60.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/4.024, allocations: 128.7 kB / 2.997 GB, free: 60.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/4.024, allocations: 59.91 kB / 2.997 GB, free: 60.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/4.028, allocations: 1.829 MB / 2.999 GB, free: 58.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006801/4.029, allocations: 35.84 kB / 2.999 GB, free: 58.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.483e-05/4.029, allocations: 16.11 kB / 2.999 GB, free: 58.68 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.0001392/4.029, allocations: 120.9 kB / 2.999 GB, free: 58.56 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/4.029, allocations: 82.95 kB / 2.999 GB, free: 58.48 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/4.033, allocations: 0.7704 MB / 3 GB, free: 57.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/4.033, allocations: 4 kB / 3 GB, free: 57.69 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/4.033, allocations: 0 / 3 GB, free: 57.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/4.033, allocations: 3.906 kB / 3 GB, free: 57.69 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/4.034, allocations: 0.6056 MB / 3.001 GB, free: 57.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/4.034, allocations: 7.906 kB / 3.001 GB, free: 57.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/4.034, allocations: 63.91 kB / 3.001 GB, free: 56.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003244/4.034, allocations: 120.7 kB / 3.001 GB, free: 56.86 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/4.034, allocations: 15.97 kB / 3.001 GB, free: 56.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00382/4.038, allocations: 1.833 MB / 3.003 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.038, allocations: 0 / 3.003 GB, free: 54.89 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003224/4.041, allocations: 0.7014 MB / 3.003 GB, free: 54.16 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/4.042, allocations: 231.9 kB / 3.003 GB, free: 53.92 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/4.042, allocations: 0 / 3.003 GB, free: 53.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/4.042, allocations: 27.97 kB / 3.004 GB, free: 53.89 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/4.042, allocations: 23.97 kB / 3.004 GB, free: 53.87 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/4.043, allocations: 15.98 kB / 3.004 GB, free: 53.85 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009659/4.043, allocations: 0.9364 MB / 3.004 GB, free: 52.92 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007255/4.044, allocations: 199.8 kB / 3.005 GB, free: 52.72 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.001329/4.046, allocations: 0.9189 MB / 3.006 GB, free: 51.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008438/4.046, allocations: 498.3 kB / 3.006 GB, free: 51.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/4.046, allocations: 0 / 3.006 GB, free: 51.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/4.047, allocations: 333.4 kB / 3.006 GB, free: 51.06 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/4.048, allocations: 103.8 kB / 3.006 GB, free: 50.96 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/4.05, allocations: 1.396 MB / 3.008 GB, free: 49.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/4.05, allocations: 1.047 MB / 3.009 GB, free: 48.46 MB / 1.151 GB Notification: Performance of SimCode: time 3e-07/4.05, allocations: 3.938 kB / 3.009 GB, free: 48.46 MB / 1.151 GB Notification: Performance of Templates: time 0.02243/4.073, allocations: 14.6 MB / 3.023 GB, free: 33.89 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches