Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 185.2 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.83 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9345/0.9365, allocations: 160.8 MB / 1.218 GB, free: 3.598 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002829/0.9393, allocations: 1.5 MB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.9407, allocations: 0.7515 MB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.9407, allocations: 1.219 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.9408, allocations: 7.922 kB / 1.221 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.9408, allocations: 13.08 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.9414, allocations: 131.2 kB / 1.221 GB, free: 1.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.9415, allocations: 71.81 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.9416, allocations: 11.11 kB / 1.221 GB, free: 1.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.9417, allocations: 42.53 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.553e-05/0.9418, allocations: 35.34 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.9418, allocations: 7.375 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.9421, allocations: 137.3 kB / 1.221 GB, free: 1.551 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.9421, allocations: 14.34 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.9422, allocations: 39.92 kB / 1.221 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.9424, allocations: 140.5 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.9424, allocations: 3.984 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9424, allocations: 0.875 kB / 1.221 GB, free: 1.418 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.9424, allocations: 0 / 1.221 GB, free: 1.418 MB / 0.92 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.000693/0.9431, allocations: 428 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.9431, allocations: 9.875 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.9432, allocations: 8.672 kB / 1.222 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.9433, allocations: 171.5 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.9434, allocations: 2.531 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.9434, allocations: 5.156 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.9436, allocations: 75.75 kB / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.9436, allocations: 0 / 1.222 GB, free: 0.707 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.9436, allocations: 4.969 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.9436, allocations: 1.125 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.9437, allocations: 36.69 kB / 1.222 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.9444, allocations: 317.1 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.9445, allocations: 50.5 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.116e-05/0.9446, allocations: 34.92 kB / 1.222 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.9446, allocations: 3.938 kB / 1.222 GB, free: 296 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.9448, allocations: 74.03 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.9448, allocations: 0 / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003997/0.9452, allocations: 140.3 kB / 1.223 GB, free: 144 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.9452, allocations: 62 kB / 1.223 GB, free: 72 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.9454, allocations: 120.1 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.9454, allocations: 26.77 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.9455, allocations: 95.31 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.9455, allocations: 13.78 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.9455, allocations: 31.14 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.9457, allocations: 323.9 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.9458, allocations: 31.08 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.9459, allocations: 47.98 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.9461, allocations: 74.12 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9461, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002312/0.9463, allocations: 113.5 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.9463, allocations: 5.594 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9463, allocations: 0 / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.9463, allocations: 1.938 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.9464, allocations: 16.48 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.9464, allocations: 1.031 kB / 1.223 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.837e-05/0.9465, allocations: 8.281 kB / 1.223 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.9465, allocations: 7.531 kB / 1.224 GB, free: 15.28 MB / 0.9356 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.0001166/0.9466, allocations: 134.4 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.9467, allocations: 6.109 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.9467, allocations: 14.62 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9467, allocations: 1.062 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9467, allocations: 0 / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.9467, allocations: 0 / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.9472, allocations: 387.8 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.9473, allocations: 4 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-05/0.9473, allocations: 11.55 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9473, allocations: 0 / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.9473, allocations: 5.109 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9473, allocations: 1.25 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9473, allocations: 3.938 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.9476, allocations: 205.2 kB / 1.224 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.9477, allocations: 88 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.9477, allocations: 1.062 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.46e-05/0.9478, allocations: 2.094 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.9478, allocations: 10.23 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.9478, allocations: 2.219 kB / 1.224 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.9479, allocations: 93.73 kB / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9479, allocations: 0 / 1.224 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003191/0.9482, allocations: 39.86 kB / 1.224 GB, free: 14.36 MB / 0.9356 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.0003894/0.9486, allocations: 175.9 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.9489, allocations: 71.62 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.9489, allocations: 3.938 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.434e-05/0.949, allocations: 30.92 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.9492, allocations: 13.34 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.9497, allocations: 196.4 kB / 1.225 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.9501, allocations: 0.6849 MB / 1.226 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.9502, allocations: 7.266 kB / 1.226 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.9502, allocations: 10.62 kB / 1.226 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9502, allocations: 7.938 kB / 1.226 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.005182/0.9554, allocations: 1.49 MB / 1.227 GB, free: 12.52 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hea.TOut,hea.occ,hea.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time [Calling sys.exit(0), Time elapsed: 8.861789654940367]