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.001822/0.001822, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002378/0.002378, allocations: 219 kB / 22.25 MB, free: 4.855 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.809 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.75/2.75, allocations: 476 MB / 0.7699 GB, free: 4.703 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.00213/0.00213, allocations: 67.44 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3232, allocations: 169.9 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004328/0.3276, allocations: 2.142 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.5033, allocations: 132.4 MB / 1.414 GB, free: 5.398 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.5036, allocations: 7.938 kB / 1.414 GB, free: 5.391 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.5047, allocations: 0.7795 MB / 1.415 GB, free: 4.609 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.5058, allocations: 0.5219 MB / 1.415 GB, free: 4.086 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.5068, allocations: 346.8 kB / 1.415 GB, free: 3.746 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008606/0.5077, allocations: 0.5887 MB / 1.416 GB, free: 3.156 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.5078, allocations: 60.41 kB / 1.416 GB, free: 3.105 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.5093, allocations: 367.1 kB / 1.416 GB, free: 2.758 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007324/0.51, allocations: 0.519 MB / 1.417 GB, free: 2.238 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.5101, allocations: 24 kB / 1.417 GB, free: 2.215 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.5108, allocations: 295.5 kB / 1.417 GB, free: 1.926 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.511, allocations: 191.7 kB / 1.417 GB, free: 1.738 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.5112, allocations: 210.3 kB / 1.418 GB, free: 1.531 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.5123, allocations: 0.7583 MB / 1.418 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.5123, allocations: 0 / 1.418 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5123, allocations: 0 / 1.418 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.363e-05/0.5124, allocations: 4 kB / 1.418 GB, free: 0.7656 MB / 1.107 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.001846/0.5142, allocations: 1.039 MB / 1.419 GB, free: 15.69 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5143, allocations: 8.031 kB / 1.419 GB, free: 15.68 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.908e-05/0.5143, allocations: 50.55 kB / 1.419 GB, free: 15.62 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.516, allocations: 219.2 kB / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.5168, allocations: 437.3 kB / 1.42 GB, free: 14.95 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.5168, allocations: 24.31 kB / 1.42 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.503e-05/0.5168, allocations: 16 kB / 1.42 GB, free: 14.91 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009754/0.5178, allocations: 346.9 kB / 1.42 GB, free: 14.56 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5178, allocations: 0 / 1.42 GB, free: 14.56 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5179, allocations: 8 kB / 1.42 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5179, allocations: 4 kB / 1.42 GB, free: 14.55 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.5192, allocations: 360.6 kB / 1.421 GB, free: 14.2 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.5216, allocations: 1.061 MB / 1.422 GB, free: 13.09 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.5227, allocations: 401.1 kB / 1.422 GB, free: 12.68 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.5234, allocations: 201.6 kB / 1.422 GB, free: 12.47 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.5234, allocations: 7.938 kB / 1.422 GB, free: 12.46 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00086/0.5243, allocations: 310.1 kB / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.5243, allocations: 0 / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.008396/0.5327, allocations: 1.167 MB / 1.424 GB, free: 10.97 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.5328, allocations: 85.11 kB / 1.424 GB, free: 10.87 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.5345, allocations: 1.384 MB / 1.425 GB, free: 9.477 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.5346, allocations: 37.7 kB / 1.425 GB, free: 9.434 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.535, allocations: 372.5 kB / 1.426 GB, free: 9.066 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5351, allocations: 103.2 kB / 1.426 GB, free: 8.965 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.5352, allocations: 65.67 kB / 1.426 GB, free: 8.895 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5354, allocations: 321.9 kB / 1.426 GB, free: 8.574 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.536, allocations: 183.7 kB / 1.426 GB, free: 8.395 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.5368, allocations: 285.3 kB / 1.427 GB, free: 8.082 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.5381, allocations: 413 kB / 1.427 GB, free: 7.668 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5381, allocations: 0 / 1.427 GB, free: 7.668 MB / 1.123 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00391/0.542, allocations: 0.7317 MB / 1.428 GB, free: 6.926 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.542, allocations: 7.125 kB / 1.428 GB, free: 6.922 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.542, allocations: 7.938 kB / 1.428 GB, free: 6.914 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.5431, allocations: 176.7 kB / 1.428 GB, free: 6.738 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.5434, allocations: 63.89 kB / 1.428 GB, free: 6.676 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/0.5512, allocations: 2.184 MB / 1.43 GB, free: 4.379 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/0.5517, allocations: 43.92 kB / 1.43 GB, free: 4.336 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.5517, allocations: 15.98 kB / 1.43 GB, free: 4.32 MB / 1.123 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.000448/0.5522, allocations: 298.1 kB / 1.43 GB, free: 4.02 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.5524, allocations: 95.33 kB / 1.431 GB, free: 3.926 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004319/0.5567, allocations: 0.8491 MB / 1.431 GB, free: 3.059 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.5567, allocations: 4 kB / 1.431 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.5567, allocations: 0 / 1.431 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.5567, allocations: 7.938 kB / 1.431 GB, free: 3.047 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007686/0.5575, allocations: 0.5341 MB / 1.432 GB, free: 2.473 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5575, allocations: 0 / 1.432 GB, free: 2.473 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.5578, allocations: 55.95 kB / 1.432 GB, free: 2.418 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009772/0.5588, allocations: 180.6 kB / 1.432 GB, free: 2.238 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.5588, allocations: 15.97 kB / 1.432 GB, free: 2.223 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007479/0.5663, allocations: 2.165 MB / 1.434 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.5663, allocations: 4.031 kB / 1.434 GB, free: 15.94 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.5703, allocations: 0.8068 MB / 1.435 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.5705, allocations: 83.3 kB / 1.435 GB, free: 15.03 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.5706, allocations: 15.94 kB / 1.435 GB, free: 15.01 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.5711, allocations: 27.97 kB / 1.435 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.5711, allocations: 27.95 kB / 1.435 GB, free: 14.96 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.5712, allocations: 19.98 kB / 1.435 GB, free: 14.94 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001265/0.5725, allocations: 1.038 MB / 1.436 GB, free: 13.9 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5725, allocations: 3.938 kB / 1.436 GB, free: 13.9 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005277/0.573, allocations: 123.8 kB / 1.436 GB, free: 13.78 MB / 1.139 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.00596/0.5789, allocations: 1.687 MB / 1.438 GB, free: 12.24 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.5808, allocations: 0.5569 MB / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5808, allocations: 0 / 1.439 GB, free: 11.67 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009912/0.5818, allocations: 363.1 kB / 1.439 GB, free: 11.3 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.5825, allocations: 127.2 kB / 1.439 GB, free: 11.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.5978, allocations: 6.479 MB / 1.445 GB, free: 4.527 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.5982, allocations: 383.4 kB / 1.446 GB, free: 4.129 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003717/0.5986, allocations: 102.8 kB / 1.446 GB, free: 4.027 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.599, allocations: 255.3 kB / 1.446 GB, free: 3.777 MB / 1.139 GB Notification: Performance of SimCode: time 1.503e-06/0.599, allocations: 0 / 1.446 GB, free: 3.777 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05807/0.6571, allocations: 19.6 MB / 1.465 GB, free: 380 kB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.31, allocations: 18.69 kB / 1.465 GB, free: 364 kB / 1.154 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: 21.163537988904864]