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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001448/0.001448, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001715/0.001715, allocations: 196.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6942, allocations: 140.4 MB / 0.9489 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003049/0.6973, allocations: 2.251 MB / 0.9511 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1592/0.8565, allocations: 148.3 MB / 1.096 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002791/0.8568, allocations: 4 kB / 1.096 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.8579, allocations: 0.7758 MB / 1.097 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006593/0.8586, allocations: 474.8 kB / 1.097 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.8597, allocations: 354.5 kB / 1.097 GB, free: 9.461 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005771/0.8602, allocations: 0.5459 MB / 1.098 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.8604, allocations: 72.7 kB / 1.098 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.8619, allocations: 324.4 kB / 1.098 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005105/0.8625, allocations: 479.6 kB / 1.099 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.228e-05/0.8625, allocations: 12 kB / 1.099 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.8632, allocations: 287.6 kB / 1.099 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.8633, allocations: 183.6 kB / 1.099 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.8636, allocations: 253.9 kB / 1.1 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000782/0.8644, allocations: 0.7026 MB / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8644, allocations: 0 / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.72e-07/0.8644, allocations: 0 / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.8644, allocations: 4 kB / 1.1 GB, free: 6.633 MB / 0.8575 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.00162/0.866, allocations: 1.084 MB / 1.101 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.8661, allocations: 12.03 kB / 1.101 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.8677, allocations: 190.8 kB / 1.101 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006128/0.8684, allocations: 490.7 kB / 1.102 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.8684, allocations: 12.38 kB / 1.102 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.8684, allocations: 19.98 kB / 1.102 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000991/0.8694, allocations: 338.9 kB / 1.102 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.8695, allocations: 0 / 1.102 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.8695, allocations: 11.98 kB / 1.102 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.8695, allocations: 8 kB / 1.102 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.8709, allocations: 332.7 kB / 1.103 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.8734, allocations: 1.117 MB / 1.104 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.8747, allocations: 401.3 kB / 1.104 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/0.8754, allocations: 209.6 kB / 1.104 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.8755, allocations: 4 kB / 1.104 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/0.8764, allocations: 316.6 kB / 1.105 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 2.916e-06/0.8764, allocations: 0 / 1.105 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.009312/0.8857, allocations: 1.214 MB / 1.106 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.8858, allocations: 85.09 kB / 1.106 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.8873, allocations: 1.337 MB / 1.107 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.8874, allocations: 33.7 kB / 1.107 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.8877, allocations: 368.4 kB / 1.108 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.8879, allocations: 98.64 kB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.888, allocations: 69.67 kB / 1.108 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.8881, allocations: 322 kB / 1.108 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00067/0.8888, allocations: 171.8 kB / 1.108 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007339/0.8895, allocations: 233.7 kB / 1.108 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.8909, allocations: 394 kB / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.8909, allocations: 0 / 1.109 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004184/0.8951, allocations: 0.7163 MB / 1.109 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8951, allocations: 4 kB / 1.109 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8951, allocations: 4 kB / 1.109 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.8962, allocations: 176.7 kB / 1.11 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.8966, allocations: 63.89 kB / 1.11 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/0.9042, allocations: 2.112 MB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006209/0.9049, allocations: 47.78 kB / 1.112 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.9049, allocations: 19.98 kB / 1.112 GB, free: 10.24 MB / 0.8731 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 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004059/0.9053, allocations: 291.5 kB / 1.112 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.9055, allocations: 82.95 kB / 1.112 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.9099, allocations: 0.7599 MB / 1.113 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.9099, allocations: 8 kB / 1.113 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.9099, allocations: 3.938 kB / 1.113 GB, free: 9.082 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.9099, allocations: 7.984 kB / 1.113 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006228/0.9105, allocations: 0.5661 MB / 1.114 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.9105, allocations: 0 / 1.114 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.9108, allocations: 47.97 kB / 1.114 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.9118, allocations: 184.5 kB / 1.114 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.9119, allocations: 11.98 kB / 1.114 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007288/0.9192, allocations: 2.103 MB / 1.116 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9192, allocations: 0 / 1.116 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.9235, allocations: 0.7629 MB / 1.117 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.9237, allocations: 148 kB / 1.117 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-05/0.9238, allocations: 8 kB / 1.117 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.9242, allocations: 31.95 kB / 1.117 GB, free: 4.992 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.9243, allocations: 23.97 kB / 1.117 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.9244, allocations: 15.98 kB / 1.117 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001039/0.9254, allocations: 1.003 MB / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9255, allocations: 0 / 1.118 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006906/0.9262, allocations: 115.8 kB / 1.118 GB, free: 3.844 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001288/0.9274, allocations: 449.7 kB / 1.118 GB, free: 3.559 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.9294, allocations: 0.5414 MB / 1.119 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.9294, allocations: 4 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009877/0.9304, allocations: 358.7 kB / 1.119 GB, free: 2.637 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.9312, allocations: 113.8 kB / 1.119 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.9339, allocations: 1.768 MB / 1.121 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.9345, allocations: 0.9762 MB / 1.122 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.9349, allocations: 91.09 kB / 1.122 GB, free: 15.63 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.935, allocations: 43.41 kB / 1.122 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of SimCode: time 4.91e-07/0.935, allocations: 0 / 1.122 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of Templates: time 0.01883/0.9538, allocations: 9.82 MB / 1.132 GB, free: 5.828 MB / 0.8887 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches