Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 216 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.24/3.24, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 70.2 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.322, allocations: 176.1 MB / 1.325 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003713/0.3257, allocations: 2.144 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1747/0.5004, allocations: 132.4 MB / 1.457 GB, free: 10.85 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.5006, allocations: 7.938 kB / 1.457 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.5017, allocations: 0.7795 MB / 1.458 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0009007/0.5026, allocations: 0.5219 MB / 1.458 GB, free: 9.535 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.5035, allocations: 342.8 kB / 1.458 GB, free: 9.199 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007237/0.5042, allocations: 0.5888 MB / 1.459 GB, free: 8.605 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.5044, allocations: 55.14 kB / 1.459 GB, free: 8.555 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.5056, allocations: 371.2 kB / 1.459 GB, free: 8.203 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.5062, allocations: 0.5152 MB / 1.46 GB, free: 7.688 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.707e-05/0.5063, allocations: 28 kB / 1.46 GB, free: 7.66 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006069/0.5069, allocations: 287.6 kB / 1.46 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.5071, allocations: 199.5 kB / 1.46 GB, free: 7.184 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.5073, allocations: 198.4 kB / 1.461 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.5083, allocations: 0.7622 MB / 1.461 GB, free: 6.223 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5083, allocations: 4 kB / 1.461 GB, free: 6.219 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5083, allocations: 0 / 1.461 GB, free: 6.219 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.5083, allocations: 0 / 1.461 GB, free: 6.219 MB / 1.154 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.001767/0.5101, allocations: 1.047 MB / 1.462 GB, free: 5.137 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5101, allocations: 8.031 kB / 1.462 GB, free: 5.129 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.5117, allocations: 219.2 kB / 1.463 GB, free: 4.914 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.5124, allocations: 433.3 kB / 1.463 GB, free: 4.461 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.5124, allocations: 20.31 kB / 1.463 GB, free: 4.441 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.5125, allocations: 19.94 kB / 1.463 GB, free: 4.422 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/0.5135, allocations: 342.9 kB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5135, allocations: 0 / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.5135, allocations: 8 kB / 1.463 GB, free: 4.066 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.5135, allocations: 7.938 kB / 1.463 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.5148, allocations: 356.7 kB / 1.464 GB, free: 3.711 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.5171, allocations: 1.01 MB / 1.465 GB, free: 2.664 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5183, allocations: 397.3 kB / 1.465 GB, free: 2.258 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.519, allocations: 202 kB / 1.465 GB, free: 2.055 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.707e-05/0.519, allocations: 4 kB / 1.465 GB, free: 2.051 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008541/0.5199, allocations: 320.7 kB / 1.466 GB, free: 1.719 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/0.5199, allocations: 0 / 1.466 GB, free: 1.719 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.008758/0.5287, allocations: 1.163 MB / 1.467 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.5287, allocations: 85.11 kB / 1.467 GB, free: 456 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.5306, allocations: 1.376 MB / 1.468 GB, free: 15.06 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.5307, allocations: 33.7 kB / 1.468 GB, free: 15.02 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.5311, allocations: 372.5 kB / 1.469 GB, free: 14.65 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5312, allocations: 103.2 kB / 1.469 GB, free: 14.55 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.5313, allocations: 65.67 kB / 1.469 GB, free: 14.48 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5315, allocations: 318 kB / 1.469 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000657/0.5321, allocations: 187.7 kB / 1.469 GB, free: 13.98 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.5329, allocations: 293.1 kB / 1.469 GB, free: 13.66 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.5342, allocations: 402.3 kB / 1.47 GB, free: 13.25 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5342, allocations: 0 / 1.47 GB, free: 13.25 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004023/0.5383, allocations: 0.7416 MB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5383, allocations: 4 kB / 1.471 GB, free: 12.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.5383, allocations: 4 kB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.5394, allocations: 180.7 kB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.5397, allocations: 59.91 kB / 1.471 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007948/0.5477, allocations: 2.16 MB / 1.473 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.5482, allocations: 43.92 kB / 1.473 GB, free: 9.953 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.5483, allocations: 19.92 kB / 1.473 GB, free: 9.934 MB / 1.17 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.0004221/0.5487, allocations: 298.1 kB / 1.473 GB, free: 9.633 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5488, allocations: 87.44 kB / 1.473 GB, free: 9.547 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.5532, allocations: 0.8606 MB / 1.474 GB, free: 8.672 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.5532, allocations: 4 kB / 1.474 GB, free: 8.668 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5532, allocations: 4 kB / 1.474 GB, free: 8.664 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5532, allocations: 0 / 1.474 GB, free: 8.664 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006812/0.5539, allocations: 491.4 kB / 1.475 GB, free: 8.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5539, allocations: 3.984 kB / 1.475 GB, free: 8.148 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003221/0.5542, allocations: 55.91 kB / 1.475 GB, free: 8.094 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009964/0.5552, allocations: 180.6 kB / 1.475 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-05/0.5553, allocations: 15.92 kB / 1.475 GB, free: 7.898 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007643/0.5629, allocations: 2.161 MB / 1.477 GB, free: 5.633 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5629, allocations: 0 / 1.477 GB, free: 5.633 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.567, allocations: 0.8109 MB / 1.478 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.5671, allocations: 79.31 kB / 1.478 GB, free: 4.719 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.5672, allocations: 11.98 kB / 1.478 GB, free: 4.707 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.5677, allocations: 27.98 kB / 1.478 GB, free: 4.68 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.5678, allocations: 27.94 kB / 1.478 GB, free: 4.652 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.5678, allocations: 23.92 kB / 1.478 GB, free: 4.629 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001257/0.5691, allocations: 1.03 MB / 1.479 GB, free: 3.602 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5691, allocations: 0 / 1.479 GB, free: 3.602 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005525/0.5696, allocations: 123.8 kB / 1.479 GB, free: 3.48 MB / 1.17 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) * Number of clocked states: 0 () * 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 (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.001867/0.5715, allocations: 471.9 kB / 1.48 GB, free: 3.195 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.5734, allocations: 0.553 MB / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5734, allocations: 0 / 1.48 GB, free: 2.629 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5744, allocations: 358.4 kB / 1.48 GB, free: 2.266 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.5751, allocations: 123 kB / 1.481 GB, free: 2.152 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.5779, allocations: 1.658 MB / 1.482 GB, free: 468 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.5783, allocations: 384.2 kB / 1.483 GB, free: 60 kB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003239/0.5786, allocations: 78.94 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.5788, allocations: 47.41 kB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of SimCode: time 7.72e-07/0.5788, allocations: 0 / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of Templates: time 0.02136/0.6001, allocations: 11.45 MB / 1.494 GB, free: 4.609 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.47492484934628]