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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009011/0.0009011, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008792/0.0008794, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.643/2.643, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 8 kB / 0.8145 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8679, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002603/0.8705, allocations: 1.798 MB / 0.9553 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.17/1.041, allocations: 127.2 MB / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004952/1.041, allocations: 3.938 kB / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001082/1.042, allocations: 0.729 MB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008081/1.043, allocations: 471.1 kB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/1.044, allocations: 341.9 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005736/1.045, allocations: 379.8 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/1.045, allocations: 72.69 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004619/1.045, allocations: 299.1 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/1.046, allocations: 355.2 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/1.046, allocations: 12 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/1.047, allocations: 283.5 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/1.047, allocations: 167.5 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/1.047, allocations: 125.3 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/1.048, allocations: 0.5165 MB / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/1.048, allocations: 0 / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.304e-06/1.048, allocations: 0 / 1.083 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.048, allocations: 0 / 1.083 GB, free: 11.08 MB / 0.8419 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.001604/1.049, allocations: 0.9758 MB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/1.049, allocations: 12.03 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/1.051, allocations: 186.8 kB / 1.084 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006366/1.051, allocations: 455.5 kB / 1.085 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/1.051, allocations: 20.36 kB / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/1.052, allocations: 23.95 kB / 1.085 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008648/1.052, allocations: 330.9 kB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.052, allocations: 0 / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/1.052, allocations: 8 kB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.052, allocations: 4 kB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/1.054, allocations: 336.7 kB / 1.085 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/1.056, allocations: 1.124 MB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.057, allocations: 389.5 kB / 1.087 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/1.057, allocations: 8 kB / 1.087 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007708/1.058, allocations: 300.8 kB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.644e-06/1.058, allocations: 4 kB / 1.087 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.008448/1.066, allocations: 1.199 MB / 1.088 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.066, allocations: 81.11 kB / 1.088 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/1.068, allocations: 1.349 MB / 1.09 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.293e-05/1.068, allocations: 33.7 kB / 1.09 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/1.068, allocations: 368.4 kB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.523e-05/1.068, allocations: 98.62 kB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/1.068, allocations: 8 kB / 1.09 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.068, allocations: 321.9 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/1.069, allocations: 175.8 kB / 1.091 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/1.07, allocations: 230.8 kB / 1.091 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/1.07, allocations: 181 kB / 1.091 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.07, allocations: 0 / 1.091 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003779/1.074, allocations: 0.715 MB / 1.092 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.074, allocations: 9.031 kB / 1.092 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.074, allocations: 0 / 1.092 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009979/1.075, allocations: 176.7 kB / 1.092 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/1.075, allocations: 63.89 kB / 1.092 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007197/1.083, allocations: 2.178 MB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/1.083, allocations: 43.66 kB / 1.094 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/1.083, allocations: 15.98 kB / 1.094 GB, free: 15.3 MB / 0.8575 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 () * Number of clocked 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.0003401/1.084, allocations: 294.2 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/1.084, allocations: 82.97 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003806/1.087, allocations: 0.7483 MB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/1.087, allocations: 7.953 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/1.087, allocations: 0 / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.087, allocations: 0 / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/1.088, allocations: 0.5701 MB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.088, allocations: 0 / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/1.088, allocations: 51.91 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009331/1.089, allocations: 176.6 kB / 1.096 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/1.089, allocations: 19.94 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007164/1.097, allocations: 2.166 MB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.097, allocations: 4.031 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/1.101, allocations: 0.7597 MB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/1.101, allocations: 167.9 kB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.533e-05/1.101, allocations: 4 kB / 1.099 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/1.101, allocations: 27.97 kB / 1.099 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/1.101, allocations: 23.97 kB / 1.099 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.742e-05/1.101, allocations: 23.92 kB / 1.099 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001049/1.102, allocations: 1.007 MB / 1.1 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/1.102, allocations: 0 / 1.1 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005766/1.103, allocations: 115.9 kB / 1.1 GB, free: 8.828 MB / 0.8575 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.0009801/1.104, allocations: 429.1 kB / 1.101 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001645/1.106, allocations: 0.5375 MB / 1.101 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.106, allocations: 0 / 1.101 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008798/1.107, allocations: 367.4 kB / 1.102 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/1.107, allocations: 113.9 kB / 1.102 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/1.11, allocations: 1.705 MB / 1.103 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005119/1.11, allocations: 0.9849 MB / 1.104 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003499/1.111, allocations: 82.92 kB / 1.104 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.111, allocations: 47.41 kB / 1.104 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/1.111, allocations: 0 / 1.104 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of Templates: time 0.01568/1.126, allocations: 9.491 MB / 1.114 GB, free: 11.21 MB / 0.8731 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