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.001382/0.001382, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001377/0.001377, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 8.02 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.169/3.169, allocations: 0.49 GB / 0.7951 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] 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.002088/0.002088, allocations: 70.48 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3345, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003569/0.3381, allocations: 2.26 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.5239, allocations: 154 MB / 1.479 GB, free: 4.676 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.5241, allocations: 7.938 kB / 1.479 GB, free: 4.668 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.5253, allocations: 0.7795 MB / 1.48 GB, free: 3.887 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0009401/0.5262, allocations: 0.5258 MB / 1.48 GB, free: 3.359 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008954/0.5271, allocations: 354.7 kB / 1.48 GB, free: 3.012 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0007033/0.5278, allocations: 0.581 MB / 1.481 GB, free: 2.426 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.528, allocations: 56.89 kB / 1.481 GB, free: 2.371 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.5293, allocations: 382.7 kB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006307/0.5299, allocations: 0.5308 MB / 1.482 GB, free: 1.477 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.5299, allocations: 24 kB / 1.482 GB, free: 1.453 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006255/0.5306, allocations: 307.5 kB / 1.482 GB, free: 1.152 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.5308, allocations: 183.7 kB / 1.482 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.531, allocations: 273.8 kB / 1.483 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009797/0.532, allocations: 0.7661 MB / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.532, allocations: 0 / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.373e-06/0.532, allocations: 0 / 1.483 GB, free: 15.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.532, allocations: 0 / 1.483 GB, free: 15.93 MB / 1.186 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.001781/0.5338, allocations: 1.045 MB / 1.485 GB, free: 14.86 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.5338, allocations: 8.031 kB / 1.485 GB, free: 14.85 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.5356, allocations: 211.2 kB / 1.485 GB, free: 14.64 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.5363, allocations: 452.2 kB / 1.485 GB, free: 14.17 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.5363, allocations: 12.38 kB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.5364, allocations: 19.98 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009778/0.5374, allocations: 334.9 kB / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.5374, allocations: 0 / 1.485 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.5374, allocations: 8 kB / 1.486 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.5374, allocations: 4 kB / 1.486 GB, free: 13.78 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.5387, allocations: 344.6 kB / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.541, allocations: 1.084 MB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5422, allocations: 386.7 kB / 1.487 GB, free: 11.92 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/0.5429, allocations: 193.6 kB / 1.487 GB, free: 11.72 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.5429, allocations: 15.84 kB / 1.487 GB, free: 11.71 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008774/0.5438, allocations: 304.8 kB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.5438, allocations: 0 / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009331/0.5531, allocations: 1.153 MB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.5532, allocations: 77.11 kB / 1.489 GB, free: 10.14 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.5548, allocations: 1.365 MB / 1.49 GB, free: 8.762 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.5549, allocations: 37.7 kB / 1.49 GB, free: 8.719 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/0.5552, allocations: 372.5 kB / 1.491 GB, free: 8.352 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5553, allocations: 103.2 kB / 1.491 GB, free: 8.25 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.5554, allocations: 69.66 kB / 1.491 GB, free: 8.176 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5556, allocations: 314 kB / 1.491 GB, free: 7.863 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00068/0.5563, allocations: 179.7 kB / 1.491 GB, free: 7.688 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.557, allocations: 229.9 kB / 1.492 GB, free: 7.441 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5584, allocations: 394 kB / 1.492 GB, free: 7.043 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5584, allocations: 0 / 1.492 GB, free: 7.043 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004229/0.5626, allocations: 0.7203 MB / 1.493 GB, free: 6.312 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5627, allocations: 8.062 kB / 1.493 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5627, allocations: 4 kB / 1.493 GB, free: 6.301 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001108/0.5638, allocations: 172.6 kB / 1.493 GB, free: 6.129 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.5642, allocations: 63.91 kB / 1.493 GB, free: 6.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.5723, allocations: 2.206 MB / 1.495 GB, free: 3.746 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.5729, allocations: 43.95 kB / 1.495 GB, free: 3.703 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/0.573, allocations: 15.98 kB / 1.495 GB, free: 3.688 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.0004784/0.5734, allocations: 296.6 kB / 1.495 GB, free: 3.391 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5736, allocations: 95.33 kB / 1.495 GB, free: 3.297 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/0.5779, allocations: 0.8086 MB / 1.496 GB, free: 2.473 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.5779, allocations: 7.938 kB / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.578, allocations: 0 / 1.496 GB, free: 2.465 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.578, allocations: 3.984 kB / 1.496 GB, free: 2.461 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000755/0.5787, allocations: 0.5651 MB / 1.497 GB, free: 1.852 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.5787, allocations: 0 / 1.497 GB, free: 1.852 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.579, allocations: 43.97 kB / 1.497 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/0.5801, allocations: 176.7 kB / 1.497 GB, free: 1.633 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.5801, allocations: 19.97 kB / 1.497 GB, free: 1.613 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007802/0.5879, allocations: 2.188 MB / 1.499 GB, free: 15.31 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5879, allocations: 3.938 kB / 1.499 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004204/0.5921, allocations: 0.763 MB / 1.5 GB, free: 14.52 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.5923, allocations: 75.38 kB / 1.5 GB, free: 14.45 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/0.5923, allocations: 15.92 kB / 1.5 GB, free: 14.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.5928, allocations: 23.98 kB / 1.5 GB, free: 14.41 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.5929, allocations: 27.95 kB / 1.5 GB, free: 14.38 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.5929, allocations: 11.98 kB / 1.5 GB, free: 14.37 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001153/0.5941, allocations: 1.022 MB / 1.501 GB, free: 13.35 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5941, allocations: 0 / 1.501 GB, free: 13.35 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005276/0.5946, allocations: 111.9 kB / 1.501 GB, free: 13.24 MB / 1.201 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.001787/0.5964, allocations: 448.1 kB / 1.502 GB, free: 12.95 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.5983, allocations: 0.5376 MB / 1.502 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5983, allocations: 0 / 1.502 GB, free: 12.4 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009771/0.5993, allocations: 350.4 kB / 1.502 GB, free: 12.05 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.6, allocations: 117.2 kB / 1.503 GB, free: 11.94 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.6027, allocations: 1.618 MB / 1.504 GB, free: 10.29 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.6033, allocations: 0.9769 MB / 1.505 GB, free: 9.285 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002999/0.6036, allocations: 90.91 kB / 1.505 GB, free: 9.195 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.6038, allocations: 39.41 kB / 1.505 GB, free: 9.156 MB / 1.201 GB Notification: Performance of SimCode: time 6.41e-07/0.6038, allocations: 0 / 1.505 GB, free: 9.156 MB / 1.201 GB Notification: Performance of Templates: time 0.02037/0.6241, allocations: 10.6 MB / 1.516 GB, free: 14.6 MB / 1.217 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.322144378907979]