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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.004/2.004, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.0009858/0.0009858, allocations: 180.8 kB / 487.4 MB, free: 5.051 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.336/1.336, allocations: 221.5 MB / 0.7824 GB, free: 1.051 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.0008268/0.000827, allocations: 101.2 kB / 0.9219 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.544e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2345, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.606/3.841, allocations: 1.731 GB / 2.937 GB, free: 153.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/3.841, allocations: 83.95 kB / 2.937 GB, free: 153.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09898/3.94, allocations: 54.25 MB / 2.99 GB, free: 98.74 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.954e-06/3.94, allocations: 0 / 2.99 GB, free: 98.74 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.338e-05/3.94, allocations: 15.98 kB / 2.99 GB, free: 98.72 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.001396/3.942, allocations: 0.8959 MB / 2.991 GB, free: 97.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/3.942, allocations: 12.56 kB / 2.991 GB, free: 97.76 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/3.943, allocations: 190.7 kB / 2.991 GB, free: 97.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/3.944, allocations: 0.5268 MB / 2.992 GB, free: 97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/3.944, allocations: 4 kB / 2.992 GB, free: 97 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/3.944, allocations: 15.94 kB / 2.992 GB, free: 96.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004352/3.944, allocations: 288.5 kB / 2.992 GB, free: 96.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/3.945, allocations: 274.7 kB / 2.992 GB, free: 96.42 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/3.945, allocations: 4 kB / 2.992 GB, free: 96.41 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.147e-05/3.945, allocations: 3.938 kB / 2.992 GB, free: 96.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/3.945, allocations: 8 kB / 2.992 GB, free: 96.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/3.947, allocations: 1.156 MB / 2.993 GB, free: 95.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/3.947, allocations: 361.5 kB / 2.994 GB, free: 94.83 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/3.947, allocations: 169.7 kB / 2.994 GB, free: 94.66 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/3.948, allocations: 7.984 kB / 2.994 GB, free: 94.65 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/3.948, allocations: 265.3 kB / 2.994 GB, free: 94.37 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.933e-06/3.948, allocations: 0 / 2.994 GB, free: 94.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.002741/3.951, allocations: 0.6224 MB / 2.995 GB, free: 93.74 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/3.951, allocations: 85.11 kB / 2.995 GB, free: 93.64 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/3.952, allocations: 1.161 MB / 2.996 GB, free: 92.47 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/3.952, allocations: 29.69 kB / 2.996 GB, free: 92.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/3.952, allocations: 368.4 kB / 2.996 GB, free: 92.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/3.952, allocations: 94.66 kB / 2.996 GB, free: 91.98 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/3.952, allocations: 4 kB / 2.996 GB, free: 91.97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.068e-05/3.953, allocations: 318 kB / 2.997 GB, free: 91.66 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/3.953, allocations: 135.9 kB / 2.997 GB, free: 91.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/3.953, allocations: 193.8 kB / 2.997 GB, free: 91.31 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/3.953, allocations: 173.7 kB / 2.997 GB, free: 91.14 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/3.953, allocations: 3.953 kB / 2.997 GB, free: 91.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002529/3.956, allocations: 0.619 MB / 2.998 GB, free: 90.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/3.956, allocations: 4 kB / 2.998 GB, free: 90.51 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/3.956, allocations: 128 / 2.998 GB, free: 90.51 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/3.956, allocations: 124.8 kB / 2.998 GB, free: 90.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/3.956, allocations: 63.89 kB / 2.998 GB, free: 90.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003241/3.96, allocations: 1.802 MB / 3 GB, free: 88.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004533/3.96, allocations: 39.83 kB / 3 GB, free: 88.37 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/3.96, allocations: 19.97 kB / 3 GB, free: 88.35 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.0001075/3.96, allocations: 122.4 kB / 3 GB, free: 88.22 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/3.96, allocations: 78.97 kB / 3 GB, free: 88.14 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002781/3.963, allocations: 0.7351 MB / 3.001 GB, free: 87.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/3.963, allocations: 8 kB / 3.001 GB, free: 87.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/3.963, allocations: 0 / 3.001 GB, free: 87.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/3.963, allocations: 3.984 kB / 3.001 GB, free: 87.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/3.964, allocations: 0.602 MB / 3.001 GB, free: 86.74 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/3.964, allocations: 0 / 3.001 GB, free: 86.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/3.964, allocations: 59.91 kB / 3.001 GB, free: 86.68 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000264/3.964, allocations: 124.7 kB / 3.002 GB, free: 86.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/3.964, allocations: 11.97 kB / 3.002 GB, free: 86.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003121/3.968, allocations: 1.814 MB / 3.003 GB, free: 84.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/3.968, allocations: 0 / 3.003 GB, free: 84.62 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/3.97, allocations: 0.6969 MB / 3.004 GB, free: 83.89 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/3.97, allocations: 228 kB / 3.004 GB, free: 83.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/3.97, allocations: 4 kB / 3.004 GB, free: 83.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004149/3.971, allocations: 27.88 kB / 3.004 GB, free: 83.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/3.971, allocations: 27.92 kB / 3.004 GB, free: 83.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/3.971, allocations: 23.92 kB / 3.004 GB, free: 83.57 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009126/3.972, allocations: 0.9442 MB / 3.005 GB, free: 82.63 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/3.972, allocations: 3.938 kB / 3.005 GB, free: 82.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0006671/3.973, allocations: 191.9 kB / 3.005 GB, free: 82.44 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.001598/3.974, allocations: 0.9311 MB / 3.006 GB, free: 81.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0007471/3.975, allocations: 493.5 kB / 3.007 GB, free: 81.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/3.975, allocations: 4 kB / 3.007 GB, free: 81.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/3.975, allocations: 333.4 kB / 3.007 GB, free: 80.75 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/3.976, allocations: 100.9 kB / 3.007 GB, free: 80.66 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/3.978, allocations: 1.366 MB / 3.009 GB, free: 79.26 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/3.978, allocations: 0.9927 MB / 3.009 GB, free: 78.24 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003729/3.978, allocations: 123.1 kB / 3.01 GB, free: 78.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/3.979, allocations: 59.31 kB / 3.01 GB, free: 78.06 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/3.979, allocations: 0 / 3.01 GB, free: 78.06 MB / 1.151 GB Notification: Performance of Templates: time 0.02051/3.999, allocations: 14.1 MB / 3.023 GB, free: 63.99 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