Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 191.9 kB / 22.23 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.849/2.849, allocations: 0.4893 GB / 0.7884 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=2500,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.67 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 174.9 MB / 1.316 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003588/0.2843, allocations: 2.22 MB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.4427, allocations: 151.1 MB / 1.466 GB, free: 15.86 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000195/0.4429, allocations: 11.88 kB / 1.466 GB, free: 15.84 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009645/0.4439, allocations: 0.7718 MB / 1.466 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0007313/0.4446, allocations: 498.6 kB / 1.467 GB, free: 14.58 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009604/0.4456, allocations: 418 kB / 1.467 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006654/0.4463, allocations: 0.5693 MB / 1.468 GB, free: 13.61 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.4464, allocations: 48.91 kB / 1.468 GB, free: 13.56 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.4476, allocations: 372.9 kB / 1.468 GB, free: 13.2 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.4482, allocations: 0.5269 MB / 1.469 GB, free: 12.68 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.4482, allocations: 24 kB / 1.469 GB, free: 12.65 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.4488, allocations: 299.6 kB / 1.469 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.449, allocations: 199.6 kB / 1.469 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.4492, allocations: 261.9 kB / 1.47 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.4501, allocations: 0.7466 MB / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4501, allocations: 0 / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4501, allocations: 0 / 1.47 GB, free: 11.16 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.4501, allocations: 0 / 1.47 GB, free: 11.16 MB / 1.17 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.001597/0.4517, allocations: 1.034 MB / 1.471 GB, free: 10.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4517, allocations: 8.031 kB / 1.471 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.4531, allocations: 195.3 kB / 1.471 GB, free: 9.891 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.4537, allocations: 452.2 kB / 1.472 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.4537, allocations: 12.38 kB / 1.472 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.4538, allocations: 23.94 kB / 1.472 GB, free: 9.383 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008593/0.4547, allocations: 334.9 kB / 1.472 GB, free: 9.039 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.4547, allocations: 0 / 1.472 GB, free: 9.039 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.4547, allocations: 4 kB / 1.472 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4547, allocations: 8 kB / 1.472 GB, free: 9.027 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4559, allocations: 340.6 kB / 1.473 GB, free: 8.695 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.4579, allocations: 1.084 MB / 1.474 GB, free: 7.559 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.4589, allocations: 381.2 kB / 1.474 GB, free: 7.168 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006316/0.4595, allocations: 197.6 kB / 1.474 GB, free: 6.969 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.4596, allocations: 4 kB / 1.474 GB, free: 6.965 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007697/0.4604, allocations: 308.8 kB / 1.475 GB, free: 6.645 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.532e-06/0.4604, allocations: 0 / 1.475 GB, free: 6.645 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008005/0.4684, allocations: 1.148 MB / 1.476 GB, free: 5.488 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.4684, allocations: 81.11 kB / 1.476 GB, free: 5.391 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4697, allocations: 1.349 MB / 1.477 GB, free: 4.031 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.4698, allocations: 33.7 kB / 1.477 GB, free: 3.992 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.4701, allocations: 364.5 kB / 1.477 GB, free: 3.633 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/0.4702, allocations: 107.1 kB / 1.478 GB, free: 3.527 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.4703, allocations: 65.67 kB / 1.478 GB, free: 3.457 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4704, allocations: 318 kB / 1.478 GB, free: 3.141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.471, allocations: 171.9 kB / 1.478 GB, free: 2.973 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/0.4717, allocations: 225.9 kB / 1.478 GB, free: 2.73 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.4729, allocations: 401.6 kB / 1.479 GB, free: 2.324 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.4729, allocations: 3.938 kB / 1.479 GB, free: 2.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003636/0.4765, allocations: 0.7178 MB / 1.479 GB, free: 1.594 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4765, allocations: 9.781 kB / 1.479 GB, free: 1.586 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4765, allocations: 4 kB / 1.479 GB, free: 1.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000928/0.4775, allocations: 180.6 kB / 1.48 GB, free: 1.402 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003245/0.4778, allocations: 63.89 kB / 1.48 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007198/0.485, allocations: 2.188 MB / 1.482 GB, free: 15.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004254/0.4854, allocations: 47.91 kB / 1.482 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4854, allocations: 23.92 kB / 1.482 GB, free: 14.97 MB / 1.186 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.000327/0.4858, allocations: 294.2 kB / 1.482 GB, free: 14.67 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4859, allocations: 91.38 kB / 1.482 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.4898, allocations: 0.8148 MB / 1.483 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4898, allocations: 7.938 kB / 1.483 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.4898, allocations: 0 / 1.483 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4898, allocations: 3.984 kB / 1.483 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.4905, allocations: 0.5419 MB / 1.484 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4905, allocations: 0 / 1.484 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.4908, allocations: 43.97 kB / 1.484 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009282/0.4917, allocations: 180.6 kB / 1.484 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-05/0.4917, allocations: 11.98 kB / 1.484 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006923/0.4987, allocations: 2.188 MB / 1.486 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4987, allocations: 3.938 kB / 1.486 GB, free: 10.62 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003607/0.5023, allocations: 0.7641 MB / 1.487 GB, free: 9.832 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.5024, allocations: 71.38 kB / 1.487 GB, free: 9.762 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-05/0.5024, allocations: 15.94 kB / 1.487 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.5028, allocations: 31.97 kB / 1.487 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.5029, allocations: 19.95 kB / 1.487 GB, free: 9.695 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.5029, allocations: 15.98 kB / 1.487 GB, free: 9.68 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0009816/0.5039, allocations: 1.003 MB / 1.488 GB, free: 8.68 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5039, allocations: 0 / 1.488 GB, free: 8.68 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004251/0.5043, allocations: 119.8 kB / 1.488 GB, free: 8.562 MB / 1.186 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 (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.001444/0.5058, allocations: 439.9 kB / 1.488 GB, free: 8.281 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.5074, allocations: 0.526 MB / 1.489 GB, free: 7.742 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5074, allocations: 0 / 1.489 GB, free: 7.742 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/0.5083, allocations: 347.4 kB / 1.489 GB, free: 7.391 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.5088, allocations: 129.9 kB / 1.489 GB, free: 7.27 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.5112, allocations: 1.602 MB / 1.491 GB, free: 5.641 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.5117, allocations: 0.9691 MB / 1.492 GB, free: 4.645 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002619/0.512, allocations: 82.91 kB / 1.492 GB, free: 4.562 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.5121, allocations: 43.42 kB / 1.492 GB, free: 4.52 MB / 1.186 GB Notification: Performance of SimCode: time 3.21e-07/0.5121, allocations: 0 / 1.492 GB, free: 4.52 MB / 1.186 GB Notification: Performance of Templates: time 0.01642/0.5285, allocations: 10.56 MB / 1.502 GB, free: 10 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.26617544516921]