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.0017/0.0017, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00209/0.00209, allocations: 213 kB / 22.99 MB, free: 4.98 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.174/3.174, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002076/0.002076, allocations: 71.45 kB / 1.155 GB, free: 25.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00363/0.3095, allocations: 2.132 MB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.4911, allocations: 132.4 MB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.4913, allocations: 7.938 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.4923, allocations: 0.7717 MB / 1.459 GB, free: 9.227 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008349/0.4932, allocations: 0.5297 MB / 1.46 GB, free: 8.695 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007737/0.4939, allocations: 338.8 kB / 1.46 GB, free: 8.363 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006525/0.4946, allocations: 0.5926 MB / 1.461 GB, free: 7.766 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.4948, allocations: 52.89 kB / 1.461 GB, free: 7.715 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.4959, allocations: 367.4 kB / 1.461 GB, free: 7.367 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006052/0.4965, allocations: 0.5386 MB / 1.462 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.4965, allocations: 28 kB / 1.462 GB, free: 6.801 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.4971, allocations: 295.6 kB / 1.462 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.4973, allocations: 195.7 kB / 1.462 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.4975, allocations: 194.4 kB / 1.462 GB, free: 6.129 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009438/0.4984, allocations: 0.766 MB / 1.463 GB, free: 5.359 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4984, allocations: 0 / 1.463 GB, free: 5.359 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4984, allocations: 0 / 1.463 GB, free: 5.359 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.4984, allocations: 3.938 kB / 1.463 GB, free: 5.355 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.001739/0.5002, allocations: 1.045 MB / 1.464 GB, free: 4.277 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.5002, allocations: 15.97 kB / 1.464 GB, free: 4.262 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.5022, allocations: 219.2 kB / 1.464 GB, free: 4.047 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000647/0.5028, allocations: 429.3 kB / 1.465 GB, free: 3.598 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5029, allocations: 16.36 kB / 1.465 GB, free: 3.582 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.5029, allocations: 24 kB / 1.465 GB, free: 3.559 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.504, allocations: 342.8 kB / 1.465 GB, free: 3.211 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.504, allocations: 0 / 1.465 GB, free: 3.211 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.5041, allocations: 8 kB / 1.465 GB, free: 3.203 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5041, allocations: 8 kB / 1.465 GB, free: 3.195 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.5056, allocations: 360.6 kB / 1.465 GB, free: 2.844 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.5079, allocations: 1.01 MB / 1.466 GB, free: 1.797 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.5092, allocations: 394.4 kB / 1.467 GB, free: 1.395 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.51, allocations: 205.4 kB / 1.467 GB, free: 1.188 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.51, allocations: 8 kB / 1.467 GB, free: 1.18 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009612/0.511, allocations: 316.8 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.511, allocations: 0 / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.01105/0.522, allocations: 1.167 MB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.5221, allocations: 85.05 kB / 1.468 GB, free: 15.57 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.5237, allocations: 1.38 MB / 1.47 GB, free: 14.18 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.5237, allocations: 37.7 kB / 1.47 GB, free: 14.14 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.5241, allocations: 364.5 kB / 1.47 GB, free: 13.78 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5242, allocations: 107.1 kB / 1.47 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.5243, allocations: 65.67 kB / 1.47 GB, free: 13.6 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5245, allocations: 322 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007655/0.5252, allocations: 179.7 kB / 1.471 GB, free: 13.11 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/0.5261, allocations: 285.3 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/0.5276, allocations: 406.5 kB / 1.471 GB, free: 12.38 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5276, allocations: 0 / 1.471 GB, free: 12.38 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004999/0.5326, allocations: 0.7375 MB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5326, allocations: 4 kB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5326, allocations: 0 / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.5339, allocations: 176.7 kB / 1.472 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.5343, allocations: 67.89 kB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009297/0.5436, allocations: 2.169 MB / 1.475 GB, free: 9.121 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.5442, allocations: 35.94 kB / 1.475 GB, free: 9.086 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.5442, allocations: 19.97 kB / 1.475 GB, free: 9.066 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.0004183/0.5446, allocations: 306.1 kB / 1.475 GB, free: 8.758 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.5448, allocations: 83.44 kB / 1.475 GB, free: 8.676 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/0.55, allocations: 0.8528 MB / 1.476 GB, free: 7.809 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.55, allocations: 8 kB / 1.476 GB, free: 7.801 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.55, allocations: 4 kB / 1.476 GB, free: 7.797 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.55, allocations: 0 / 1.476 GB, free: 7.797 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.5507, allocations: 495.4 kB / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5507, allocations: 0 / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.551, allocations: 59.91 kB / 1.476 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.5522, allocations: 176.6 kB / 1.476 GB, free: 7.047 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.5522, allocations: 19.92 kB / 1.477 GB, free: 7.027 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009189/0.5614, allocations: 2.153 MB / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5614, allocations: 0 / 1.479 GB, free: 4.77 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006825/0.5683, allocations: 0.8148 MB / 1.479 GB, free: 3.93 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.5685, allocations: 79.31 kB / 1.479 GB, free: 3.852 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.5686, allocations: 8 kB / 1.479 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.5693, allocations: 31.97 kB / 1.48 GB, free: 3.812 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5695, allocations: 28.02 kB / 1.48 GB, free: 3.785 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.5696, allocations: 27.91 kB / 1.48 GB, free: 3.758 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001873/0.5714, allocations: 1.026 MB / 1.481 GB, free: 2.734 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5714, allocations: 0 / 1.481 GB, free: 2.734 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009286/0.5724, allocations: 127.8 kB / 1.481 GB, free: 2.609 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.002447/0.5748, allocations: 459.1 kB / 1.481 GB, free: 2.34 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003063/0.5779, allocations: 0.5569 MB / 1.482 GB, free: 1.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5779, allocations: 0 / 1.482 GB, free: 1.77 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.5795, allocations: 370.4 kB / 1.482 GB, free: 1.395 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009926/0.5805, allocations: 120.7 kB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004382/0.5849, allocations: 1.653 MB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006815/0.5856, allocations: 380.2 kB / 1.484 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005293/0.5861, allocations: 90.84 kB / 1.484 GB, free: 15.11 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.5863, allocations: 39.42 kB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of SimCode: time 6.31e-07/0.5863, allocations: 0 / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of Templates: time 0.03524/0.6216, allocations: 11.55 MB / 1.496 GB, free: 3.648 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 -s gbode -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: 9.083848249996663]