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.001801/0.001801, allocations: 111.5 kB / 17.13 MB, free: 6.008 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.002242/0.002242, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.953/2.953, allocations: 0.49 GB / 0.7923 GB, free: 1.418 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.002157/0.002157, allocations: 75.89 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.028, allocations: 176.1 MB / 1.322 GB, free: 25.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003317/1.031, allocations: 2.245 MB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2237/1.255, allocations: 153.9 MB / 1.474 GB, free: 6.781 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/1.255, allocations: 6.406 kB / 1.474 GB, free: 6.777 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/1.256, allocations: 0.7861 MB / 1.475 GB, free: 6.398 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001077/1.257, allocations: 0.5266 MB / 1.476 GB, free: 6.105 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001135/1.259, allocations: 335.3 kB / 1.476 GB, free: 5.859 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000847/1.259, allocations: 0.5847 MB / 1.477 GB, free: 5.543 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/1.26, allocations: 67.83 kB / 1.477 GB, free: 5.508 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/1.261, allocations: 379 kB / 1.477 GB, free: 5.324 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006366/1.262, allocations: 0.5281 MB / 1.478 GB, free: 5.094 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.917e-05/1.262, allocations: 24.75 kB / 1.478 GB, free: 5.094 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/1.262, allocations: 306.5 kB / 1.478 GB, free: 4.949 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/1.263, allocations: 197.5 kB / 1.478 GB, free: 4.828 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/1.263, allocations: 260.9 kB / 1.478 GB, free: 4.625 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/1.264, allocations: 0.753 MB / 1.479 GB, free: 4.148 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.264, allocations: 0 / 1.479 GB, free: 4.148 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.473e-06/1.264, allocations: 5.438 kB / 1.479 GB, free: 4.145 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.137e-05/1.264, allocations: 0 / 1.479 GB, free: 4.145 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.00191/1.266, allocations: 1.121 MB / 1.48 GB, free: 3.207 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.266, allocations: 12.67 kB / 1.48 GB, free: 3.203 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/1.268, allocations: 219.6 kB / 1.48 GB, free: 3.102 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/1.269, allocations: 0.5 MB / 1.481 GB, free: 2.656 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/1.269, allocations: 16.88 kB / 1.481 GB, free: 2.648 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.518e-05/1.269, allocations: 16.53 kB / 1.481 GB, free: 2.645 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/1.27, allocations: 335.7 kB / 1.481 GB, free: 2.418 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.27, allocations: 0 / 1.481 GB, free: 2.418 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/1.27, allocations: 6.688 kB / 1.481 GB, free: 2.414 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.27, allocations: 3.719 kB / 1.481 GB, free: 2.414 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.271, allocations: 339.4 kB / 1.481 GB, free: 2.254 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/1.274, allocations: 1.121 MB / 1.483 GB, free: 1.363 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/1.275, allocations: 380.3 kB / 1.483 GB, free: 1.148 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/1.276, allocations: 192.3 kB / 1.483 GB, free: 1.043 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/1.276, allocations: 8.984 kB / 1.483 GB, free: 1.039 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009026/1.277, allocations: 308.3 kB / 1.483 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.395e-06/1.277, allocations: 3.938 kB / 1.483 GB, free: 0.8242 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.009/1.286, allocations: 1.22 MB / 1.485 GB, free: 176 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/1.286, allocations: 81.14 kB / 1.485 GB, free: 80 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/1.288, allocations: 1.363 MB / 1.486 GB, free: 15.46 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/1.288, allocations: 36.16 kB / 1.486 GB, free: 15.42 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/1.288, allocations: 373.6 kB / 1.486 GB, free: 15.1 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/1.288, allocations: 101.8 kB / 1.487 GB, free: 15.01 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/1.289, allocations: 69.72 kB / 1.487 GB, free: 14.96 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.289, allocations: 317.2 kB / 1.487 GB, free: 14.65 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/1.289, allocations: 174.7 kB / 1.487 GB, free: 14.56 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/1.29, allocations: 231.8 kB / 1.487 GB, free: 14.41 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/1.292, allocations: 399.3 kB / 1.488 GB, free: 14.19 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.292, allocations: 0 / 1.488 GB, free: 14.19 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004384/1.296, allocations: 0.7186 MB / 1.488 GB, free: 13.81 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.296, allocations: 5.844 kB / 1.488 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.296, allocations: 1.125 kB / 1.488 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.297, allocations: 184 kB / 1.489 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/1.298, allocations: 61.12 kB / 1.489 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008226/1.306, allocations: 2.305 MB / 1.491 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007234/1.307, allocations: 46.27 kB / 1.491 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/1.307, allocations: 12.77 kB / 1.491 GB, free: 11.76 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.0005475/1.307, allocations: 302.5 kB / 1.491 GB, free: 11.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.307, allocations: 95.33 kB / 1.491 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/1.312, allocations: 0.7465 MB / 1.492 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.312, allocations: 4 kB / 1.492 GB, free: 10.64 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.312, allocations: 11.88 kB / 1.492 GB, free: 10.63 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/1.312, allocations: 3.984 kB / 1.492 GB, free: 10.62 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/1.312, allocations: 0.578 MB / 1.493 GB, free: 9.996 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.312, allocations: 4 kB / 1.493 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/1.313, allocations: 43.97 kB / 1.493 GB, free: 9.949 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/1.314, allocations: 168.7 kB / 1.493 GB, free: 9.781 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.738e-05/1.314, allocations: 23.97 kB / 1.493 GB, free: 9.758 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008125/1.322, allocations: 2.288 MB / 1.495 GB, free: 7.332 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-05/1.322, allocations: 15.91 kB / 1.495 GB, free: 7.316 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/1.326, allocations: 0.7564 MB / 1.496 GB, free: 6.535 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/1.327, allocations: 156.5 kB / 1.496 GB, free: 6.363 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/1.327, allocations: 11.94 kB / 1.496 GB, free: 6.352 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/1.327, allocations: 27.97 kB / 1.496 GB, free: 6.324 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/1.327, allocations: 23.97 kB / 1.496 GB, free: 6.301 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/1.327, allocations: 15.98 kB / 1.496 GB, free: 6.285 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001319/1.329, allocations: 1.014 MB / 1.497 GB, free: 5.273 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/1.329, allocations: 0 / 1.497 GB, free: 5.273 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006151/1.329, allocations: 119.8 kB / 1.497 GB, free: 5.156 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.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.001697/1.331, allocations: 442.8 kB / 1.498 GB, free: 4.875 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001975/1.333, allocations: 0.5363 MB / 1.498 GB, free: 4.328 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.333, allocations: 0 / 1.498 GB, free: 4.328 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.334, allocations: 350.6 kB / 1.498 GB, free: 3.973 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/1.335, allocations: 117.4 kB / 1.499 GB, free: 3.867 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003199/1.338, allocations: 1.664 MB / 1.5 GB, free: 2.164 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/1.339, allocations: 0.9801 MB / 1.501 GB, free: 1.156 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/1.339, allocations: 39.42 kB / 1.501 GB, free: 1.117 MB / 1.17 GB Notification: Performance of SimCode: time 9.71e-07/1.339, allocations: 4 kB / 1.501 GB, free: 1.113 MB / 1.17 GB Notification: Performance of Templates: time 0.01963/1.358, allocations: 11.29 MB / 1.512 GB, free: 5.828 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/jenkins1/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: 13.751433918994735]