Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002223/0.002223, allocations: 104.4 kB / 16.45 MB, free: 6.449 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.002809/0.002809, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 9.145 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476.7 MB / 0.7672 GB, free: 5.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [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.002149/0.002149, allocations: 69.47 kB / 1.112 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3463, allocations: 169.9 MB / 1.278 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003867/0.3502, allocations: 2.235 MB / 1.28 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1814/0.5315, allocations: 153.9 MB / 1.431 GB, free: 8.441 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000269/0.5318, allocations: 11.94 kB / 1.431 GB, free: 8.43 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.5329, allocations: 0.7912 MB / 1.431 GB, free: 7.637 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.534, allocations: 0.518 MB / 1.432 GB, free: 7.117 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.5351, allocations: 334.8 kB / 1.432 GB, free: 6.789 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008581/0.536, allocations: 0.5888 MB / 1.433 GB, free: 6.199 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.5362, allocations: 71.17 kB / 1.433 GB, free: 6.129 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.5377, allocations: 373.4 kB / 1.433 GB, free: 5.773 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006999/0.5384, allocations: 0.5269 MB / 1.434 GB, free: 5.246 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-05/0.5385, allocations: 28 kB / 1.434 GB, free: 5.219 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.5391, allocations: 307.5 kB / 1.434 GB, free: 4.918 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.5393, allocations: 191.6 kB / 1.434 GB, free: 4.73 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002587/0.5396, allocations: 265.9 kB / 1.435 GB, free: 4.469 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.5407, allocations: 0.7582 MB / 1.435 GB, free: 3.707 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5407, allocations: 4 kB / 1.435 GB, free: 3.703 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5407, allocations: 0 / 1.435 GB, free: 3.703 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.5407, allocations: 0 / 1.435 GB, free: 3.703 MB / 1.139 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.001878/0.5426, allocations: 1.115 MB / 1.436 GB, free: 2.535 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5426, allocations: 15.97 kB / 1.436 GB, free: 2.52 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/0.5427, allocations: 54.55 kB / 1.436 GB, free: 2.457 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.5445, allocations: 215.2 kB / 1.437 GB, free: 2.246 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.5452, allocations: 0.4956 MB / 1.437 GB, free: 1.707 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.5452, allocations: 16.38 kB / 1.437 GB, free: 1.691 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.5453, allocations: 20 kB / 1.437 GB, free: 1.672 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5463, allocations: 335.1 kB / 1.438 GB, free: 1.328 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5463, allocations: 4 kB / 1.438 GB, free: 1.324 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.5463, allocations: 7.984 kB / 1.438 GB, free: 1.316 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.5463, allocations: 4 kB / 1.438 GB, free: 1.312 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.5477, allocations: 336.7 kB / 1.438 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.55, allocations: 1.136 MB / 1.439 GB, free: 15.79 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.5512, allocations: 381.2 kB / 1.439 GB, free: 15.4 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.552, allocations: 193.6 kB / 1.44 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.552, allocations: 15.91 kB / 1.44 GB, free: 15.19 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008948/0.5529, allocations: 306.5 kB / 1.44 GB, free: 14.87 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/0.5529, allocations: 0 / 1.44 GB, free: 14.87 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.009339/0.5622, allocations: 1.221 MB / 1.441 GB, free: 13.62 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.5623, allocations: 81.11 kB / 1.441 GB, free: 13.52 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.5643, allocations: 1.357 MB / 1.442 GB, free: 12.16 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.5643, allocations: 33.7 kB / 1.442 GB, free: 12.12 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.5647, allocations: 376.5 kB / 1.443 GB, free: 11.75 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.5648, allocations: 103.2 kB / 1.443 GB, free: 11.65 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.565, allocations: 65.67 kB / 1.443 GB, free: 11.58 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5652, allocations: 321.9 kB / 1.443 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.5659, allocations: 175.7 kB / 1.443 GB, free: 11.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007336/0.5666, allocations: 234.4 kB / 1.444 GB, free: 10.84 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.568, allocations: 397 kB / 1.444 GB, free: 10.44 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.568, allocations: 0 / 1.444 GB, free: 10.44 MB / 1.154 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004248/0.5722, allocations: 0.7161 MB / 1.445 GB, free: 9.711 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.5723, allocations: 8 kB / 1.445 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5723, allocations: 0 / 1.445 GB, free: 9.703 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.5734, allocations: 172.7 kB / 1.445 GB, free: 9.531 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.5738, allocations: 67.89 kB / 1.445 GB, free: 9.465 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.5823, allocations: 2.301 MB / 1.447 GB, free: 7.027 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.5829, allocations: 47.83 kB / 1.447 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.175e-05/0.583, allocations: 15.98 kB / 1.447 GB, free: 6.965 MB / 1.154 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.000594/0.5836, allocations: 305.7 kB / 1.448 GB, free: 6.656 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.5838, allocations: 91.33 kB / 1.448 GB, free: 6.566 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/0.5883, allocations: 0.7459 MB / 1.448 GB, free: 5.809 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.5883, allocations: 7.938 kB / 1.448 GB, free: 5.801 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5883, allocations: 0 / 1.448 GB, free: 5.801 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5884, allocations: 0 / 1.448 GB, free: 5.801 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.5892, allocations: 0.5703 MB / 1.449 GB, free: 5.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5892, allocations: 0 / 1.449 GB, free: 5.184 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.5895, allocations: 55.97 kB / 1.449 GB, free: 5.129 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.5905, allocations: 172.6 kB / 1.449 GB, free: 4.957 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.682e-05/0.5906, allocations: 11.98 kB / 1.449 GB, free: 4.945 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008164/0.5988, allocations: 2.304 MB / 1.451 GB, free: 2.496 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5988, allocations: 0 / 1.451 GB, free: 2.496 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/0.6031, allocations: 0.7638 MB / 1.452 GB, free: 1.707 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/0.6033, allocations: 148.5 kB / 1.452 GB, free: 1.543 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.6034, allocations: 11.94 kB / 1.452 GB, free: 1.531 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.6039, allocations: 27.97 kB / 1.452 GB, free: 1.504 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.604, allocations: 23.97 kB / 1.452 GB, free: 1.48 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.6041, allocations: 23.97 kB / 1.452 GB, free: 1.457 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001266/0.6053, allocations: 1.014 MB / 1.453 GB, free: 456 kB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6053, allocations: 0 / 1.453 GB, free: 456 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005986/0.6059, allocations: 115.8 kB / 1.454 GB, free: 340 kB / 1.154 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.006329/0.6123, allocations: 1.656 MB / 1.455 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001988/0.6143, allocations: 0.5295 MB / 1.456 GB, free: 14.26 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6143, allocations: 0 / 1.456 GB, free: 14.26 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6153, allocations: 338.5 kB / 1.456 GB, free: 13.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.6161, allocations: 138.6 kB / 1.456 GB, free: 13.79 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.6326, allocations: 6.398 MB / 1.462 GB, free: 7.219 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007308/0.6334, allocations: 0.9723 MB / 1.463 GB, free: 6.219 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000362/0.6337, allocations: 90.84 kB / 1.463 GB, free: 6.133 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.6341, allocations: 263.3 kB / 1.464 GB, free: 5.875 MB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/0.6341, allocations: 0 / 1.464 GB, free: 5.875 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.691, allocations: 18.2 MB / 1.481 GB, free: 3.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.05, allocations: 16.28 kB / 1.481 GB, free: 3.828 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_11_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.793852653121576]