Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.00249/0.00249, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002186/0.002186, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.557/1.557, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.826/2.826, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9509 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.822e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003175/0.003213, allocations: 1.49 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.005041, allocations: 0.7717 MB / 0.9531 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.00511, allocations: 0 / 0.9531 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.005147, allocations: 7.922 kB / 0.9531 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.526e-05/0.005212, allocations: 15.88 kB / 0.9532 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007135/0.005926, allocations: 147.3 kB / 0.9533 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.00608, allocations: 79.7 kB / 0.9534 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.006182, allocations: 16.11 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001789/0.00636, allocations: 43.95 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.104e-05/0.006442, allocations: 35.89 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.006466, allocations: 4 kB / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.006775, allocations: 143.7 kB / 0.9536 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.00681, allocations: 19.92 kB / 0.9536 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.006858, allocations: 23.97 kB / 0.9537 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.007177, allocations: 171.5 kB / 0.9538 GB, free: 8.598 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.007181, allocations: 3.938 kB / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.152e-06/0.007182, allocations: 0 / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.007187, allocations: 0 / 0.9538 GB, free: 8.594 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007325/0.00792, allocations: 349.4 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.007955, allocations: 8.031 kB / 0.9542 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.008309, allocations: 36.86 kB / 0.9542 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.008562, allocations: 136.4 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.00859, allocations: 12.3 kB / 0.9543 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.008607, allocations: 4.375 kB / 0.9543 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.008824, allocations: 70.2 kB / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.008834, allocations: 192 / 0.9544 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.008848, allocations: 4.125 kB / 0.9544 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.00886, allocations: 4 kB / 0.9544 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.008997, allocations: 35.97 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.009563, allocations: 244.5 kB / 0.9547 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.009708, allocations: 46.5 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/0.009794, allocations: 28.95 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.009819, allocations: 7.938 kB / 0.9548 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.009994, allocations: 75.38 kB / 0.9548 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.009996, allocations: 0 / 0.9548 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004496/0.01045, allocations: 149.6 kB / 0.955 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.0105, allocations: 55.41 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01061, allocations: 126 kB / 0.9551 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01064, allocations: 29.7 kB / 0.9552 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.835e-05/0.01071, allocations: 88.14 kB / 0.9553 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.01073, allocations: 19.84 kB / 0.9553 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.01078, allocations: 25.7 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01094, allocations: 322.8 kB / 0.9556 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.01104, allocations: 23.98 kB / 0.9556 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.01115, allocations: 54.48 kB / 0.9557 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.01132, allocations: 78.75 kB / 0.9558 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01132, allocations: 0 / 0.9558 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002754/0.0116, allocations: 125.5 kB / 0.9559 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01161, allocations: 4 kB / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01162, allocations: 0 / 0.9559 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.01164, allocations: 4 kB / 0.9559 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.01174, allocations: 16.05 kB / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01174, allocations: 0 / 0.9559 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.01181, allocations: 4 kB / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.01183, allocations: 7.984 kB / 0.9559 GB, free: 6.246 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001101/0.01194, allocations: 121.8 kB / 0.956 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.01196, allocations: 11.89 kB / 0.956 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.01199, allocations: 8.375 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.012, allocations: 8 kB / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.012, allocations: 0 / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.01201, allocations: 7.984 kB / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.0125, allocations: 330 kB / 0.9564 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.0125, allocations: 0 / 0.9564 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.01254, allocations: 4 kB / 0.9564 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01254, allocations: 0 / 0.9564 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.01255, allocations: 0 / 0.9564 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.01255, allocations: 0 / 0.9564 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01255, allocations: 0 / 0.9564 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.0129, allocations: 223.4 kB / 0.9566 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.01291, allocations: 11.89 kB / 0.9566 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.01294, allocations: 4 kB / 0.9566 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.01302, allocations: 3.984 kB / 0.9566 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.01307, allocations: 4 kB / 0.9566 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.01308, allocations: 3.984 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.648e-05/0.01317, allocations: 110.1 kB / 0.9567 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01317, allocations: 0 / 0.9567 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003093/0.01348, allocations: 39.88 kB / 0.9568 GB, free: 5.312 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004264/0.0139, allocations: 165.9 kB / 0.9569 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.01415, allocations: 71.89 kB / 0.957 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01415, allocations: 0 / 0.957 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.01425, allocations: 31.98 kB / 0.957 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.01451, allocations: 11.92 kB / 0.957 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.01493, allocations: 178.2 kB / 0.9572 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.015, allocations: 75.27 kB / 0.9573 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.01503, allocations: 4 kB / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.01507, allocations: 16.48 kB / 0.9573 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.01507, allocations: 0 / 0.9573 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.004915/0.01998, allocations: 1.497 MB / 0.9588 GB, free: 3.254 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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: 8.10707313939929]