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.001852/0.001852, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002708/0.002708, allocations: 216 kB / 22.26 MB, free: 5.113 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.023 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.687/2.687, allocations: 476.7 MB / 0.7707 GB, free: 4.305 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.002006/0.002006, allocations: 66.64 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2931, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004006/0.2972, allocations: 2.242 MB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.177/0.4742, allocations: 154 MB / 1.436 GB, free: 14.95 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002124/0.4744, allocations: 7.938 kB / 1.436 GB, free: 14.94 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.4754, allocations: 0.7757 MB / 1.437 GB, free: 14.16 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.4763, allocations: 0.518 MB / 1.437 GB, free: 13.64 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.4771, allocations: 350.7 kB / 1.438 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.4778, allocations: 0.5887 MB / 1.438 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/0.478, allocations: 56.89 kB / 1.438 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.4792, allocations: 381.4 kB / 1.439 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006002/0.4798, allocations: 0.5308 MB / 1.439 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.432e-05/0.4798, allocations: 24 kB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.4804, allocations: 311.5 kB / 1.439 GB, free: 11.44 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.4806, allocations: 199.5 kB / 1.44 GB, free: 11.24 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.4809, allocations: 265.9 kB / 1.44 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0009703/0.4818, allocations: 0.7505 MB / 1.441 GB, free: 10.23 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4818, allocations: 0 / 1.441 GB, free: 10.23 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4818, allocations: 0 / 1.441 GB, free: 10.23 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.4819, allocations: 0 / 1.441 GB, free: 10.23 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.001738/0.4836, allocations: 1.055 MB / 1.442 GB, free: 9.137 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4836, allocations: 8.031 kB / 1.442 GB, free: 9.129 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/0.4837, allocations: 50.55 kB / 1.442 GB, free: 9.07 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.4854, allocations: 219.2 kB / 1.442 GB, free: 8.855 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.4861, allocations: 444.3 kB / 1.442 GB, free: 8.391 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.4861, allocations: 16.38 kB / 1.442 GB, free: 8.375 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.4862, allocations: 20 kB / 1.442 GB, free: 8.355 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.4871, allocations: 334.9 kB / 1.443 GB, free: 8.012 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4871, allocations: 3.938 kB / 1.443 GB, free: 8.008 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.4872, allocations: 7.938 kB / 1.443 GB, free: 8 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4872, allocations: 8 kB / 1.443 GB, free: 7.992 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.4884, allocations: 336.7 kB / 1.443 GB, free: 7.664 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.4906, allocations: 1.099 MB / 1.444 GB, free: 6.512 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.4918, allocations: 385.2 kB / 1.444 GB, free: 6.117 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.4924, allocations: 185.6 kB / 1.445 GB, free: 5.93 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.4925, allocations: 15.92 kB / 1.445 GB, free: 5.914 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008501/0.4933, allocations: 306 kB / 1.445 GB, free: 5.598 MB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.4933, allocations: 0 / 1.445 GB, free: 5.598 MB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.008861/0.5022, allocations: 1.148 MB / 1.446 GB, free: 4.441 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5022, allocations: 81.11 kB / 1.446 GB, free: 4.344 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.5037, allocations: 1.357 MB / 1.447 GB, free: 2.98 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.585e-05/0.5038, allocations: 33.7 kB / 1.447 GB, free: 2.941 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.5041, allocations: 376.5 kB / 1.448 GB, free: 2.57 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.5042, allocations: 107.2 kB / 1.448 GB, free: 2.465 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.5043, allocations: 65.67 kB / 1.448 GB, free: 2.395 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5045, allocations: 321.9 kB / 1.448 GB, free: 2.074 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/0.5051, allocations: 175.7 kB / 1.448 GB, free: 1.902 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.5058, allocations: 229.8 kB / 1.449 GB, free: 1.656 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.5071, allocations: 399.3 kB / 1.449 GB, free: 1.254 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5071, allocations: 0 / 1.449 GB, free: 1.254 MB / 1.139 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004012/0.5111, allocations: 0.7161 MB / 1.45 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5112, allocations: 8 kB / 1.45 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5112, allocations: 0 / 1.45 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.5122, allocations: 180.7 kB / 1.45 GB, free: 348 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003522/0.5126, allocations: 59.89 kB / 1.45 GB, free: 288 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007778/0.5204, allocations: 2.2 MB / 1.452 GB, free: 13.96 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.5209, allocations: 39.89 kB / 1.452 GB, free: 13.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.5209, allocations: 16.28 kB / 1.452 GB, free: 13.91 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.000391/0.5213, allocations: 306.1 kB / 1.452 GB, free: 13.6 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.5214, allocations: 87.38 kB / 1.453 GB, free: 13.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.5257, allocations: 0.8248 MB / 1.453 GB, free: 12.68 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5257, allocations: 4 kB / 1.453 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5257, allocations: 8 kB / 1.453 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5258, allocations: 0 / 1.453 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.5264, allocations: 0.5458 MB / 1.454 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5264, allocations: 0 / 1.454 GB, free: 12.08 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.5267, allocations: 47.91 kB / 1.454 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009682/0.5277, allocations: 180.6 kB / 1.454 GB, free: 11.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.5277, allocations: 11.98 kB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007651/0.5354, allocations: 2.196 MB / 1.456 GB, free: 9.527 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5354, allocations: 0 / 1.456 GB, free: 9.527 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/0.5395, allocations: 0.7597 MB / 1.457 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.5396, allocations: 71.38 kB / 1.457 GB, free: 8.676 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.5397, allocations: 15.94 kB / 1.457 GB, free: 8.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.5401, allocations: 35.91 kB / 1.457 GB, free: 8.625 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.5402, allocations: 19.95 kB / 1.457 GB, free: 8.605 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.5402, allocations: 19.98 kB / 1.457 GB, free: 8.586 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001129/0.5414, allocations: 1.011 MB / 1.458 GB, free: 7.578 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5414, allocations: 0 / 1.458 GB, free: 7.578 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005234/0.5419, allocations: 123.8 kB / 1.458 GB, free: 7.457 MB / 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.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.005861/0.5478, allocations: 1.637 MB / 1.46 GB, free: 5.945 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001797/0.5496, allocations: 0.5335 MB / 1.46 GB, free: 5.398 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5496, allocations: 0 / 1.46 GB, free: 5.398 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009581/0.5505, allocations: 346.4 kB / 1.461 GB, free: 5.047 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.5512, allocations: 125.3 kB / 1.461 GB, free: 4.938 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.566, allocations: 6.399 MB / 1.467 GB, free: 14.37 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.5667, allocations: 0.9723 MB / 1.468 GB, free: 13.37 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003429/0.567, allocations: 86.86 kB / 1.468 GB, free: 13.28 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/0.5674, allocations: 275.3 kB / 1.468 GB, free: 13.01 MB / 1.17 GB Notification: Performance of SimCode: time 6.72e-07/0.5674, allocations: 0 / 1.468 GB, free: 13.01 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/0.6231, allocations: 18.52 MB / 1.486 GB, free: 10.64 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.39, allocations: 4.406 kB / 1.486 GB, free: 10.64 MB / 1.186 GB " [Timeout remaining time 285] (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.989688310999554]