Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.00177/0.00177, 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.002314/0.002314, allocations: 210.7 kB / 22.24 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.016 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.779/2.779, allocations: 476 MB / 0.7699 GB, free: 4.707 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.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",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.002124/0.002124, allocations: 67.61 kB / 1.117 GB, free: 41.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.352, allocations: 169.9 MB / 1.283 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.00342/0.3554, allocations: 1.519 MB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.3573, allocations: 0.8547 MB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.3573, allocations: 0 / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.714e-05/0.3574, allocations: 3.938 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.3574, allocations: 19.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008851/0.3583, allocations: 167.4 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.3585, allocations: 99.69 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.3587, allocations: 19.92 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.3589, allocations: 35.92 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.359, allocations: 43.81 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.359, allocations: 11.94 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.3594, allocations: 163.7 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.3595, allocations: 23.97 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.3595, allocations: 31.86 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.3599, allocations: 194.9 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.3599, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.607e-06/0.36, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.36, allocations: 3.938 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000947/0.3609, allocations: 413 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.361, allocations: 12.03 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.361, allocations: 38.73 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.3614, allocations: 32.86 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.3617, allocations: 132.6 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.3617, allocations: 8.375 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3617, allocations: 8.375 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.362, allocations: 93.69 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.362, allocations: 0 / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3621, allocations: 4 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3621, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3622, allocations: 47.95 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.3629, allocations: 283.9 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3632, allocations: 78.58 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3633, allocations: 44.83 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3633, allocations: 0 / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.3636, allocations: 95.31 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3636, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006134/0.3642, allocations: 193.6 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3642, allocations: 55.41 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3644, allocations: 133.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3644, allocations: 25.7 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.3645, allocations: 100.1 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3645, allocations: 23.8 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.3646, allocations: 29.7 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3648, allocations: 326.8 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.3648, allocations: 27.98 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.365, allocations: 75.73 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.3652, allocations: 97.88 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3652, allocations: 0 / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002573/0.3654, allocations: 129.5 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3654, allocations: 8 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3655, allocations: 0 / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.3655, allocations: 4 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.3656, allocations: 15.88 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.3656, allocations: 11.92 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.053e-05/0.3656, allocations: 4 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.3657, allocations: 8 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.3658, allocations: 133.8 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3658, allocations: 11.91 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.844e-05/0.3659, allocations: 16.7 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3659, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3659, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3659, allocations: 0 / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.3665, allocations: 393.5 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.3665, allocations: 4 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.3666, allocations: 8 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3666, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3666, allocations: 3.984 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.3666, allocations: 7.875 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3666, allocations: 4 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.367, allocations: 243.4 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.367, allocations: 7.953 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3671, allocations: 0 / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3672, allocations: 15.92 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3672, allocations: 8 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.3672, allocations: 7.984 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.383e-05/0.3673, allocations: 97.77 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3673, allocations: 0 / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003494/0.3677, allocations: 55.86 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.3688, allocations: 0.8685 MB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002983/0.3691, allocations: 83.89 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3691, allocations: 4 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3693, allocations: 47.89 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3696, allocations: 20.3 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3716, allocations: 1.589 MB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.256e-05/0.3717, allocations: 79.19 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.3718, allocations: 11.98 kB / 1.292 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.3718, allocations: 19.44 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of SimCode: time 7.31e-07/0.3718, allocations: 0 / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.4042, allocations: 3.931 MB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.94, allocations: 2.062 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable ac.TIn in file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv. Warning: Get data of variable ac.TIn from file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv failed! Error: Could not read variable ac.occ in file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv. Warning: Get data of variable ac.occ from file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv failed! Error: Could not read variable ac.on in file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv. Warning: Get data of variable ac.on from file Buildings_11_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.83204464893788]