Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001976/0.001976, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.004118/0.004118, allocations: 189.2 kB / 22.23 MB, free: 5.133 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.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.03 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.662/2.662, allocations: 443.5 MB / 0.7321 GB, free: 12.31 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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 67.89 kB / 1.061 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.917/0.919, allocations: 160.8 MB / 1.218 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002905/0.9219, allocations: 1.499 MB / 1.22 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.9234, allocations: 0.7513 MB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.9234, allocations: 0 / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.9235, allocations: 9.328 kB / 1.221 GB, free: 1.895 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.835e-05/0.9235, allocations: 9.125 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.9242, allocations: 127 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.9244, allocations: 82.77 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.9245, allocations: 12.23 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.9246, allocations: 30.55 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.9246, allocations: 39.11 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.9246, allocations: 10.47 kB / 1.221 GB, free: 1.691 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.9249, allocations: 133.4 kB / 1.221 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.925, allocations: 15.27 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.9251, allocations: 39.53 kB / 1.221 GB, free: 1.57 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.9254, allocations: 141.2 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9254, allocations: 0 / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9254, allocations: 0 / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.9254, allocations: 1.406 kB / 1.221 GB, free: 1.484 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.0007198/0.9261, allocations: 427.4 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9261, allocations: 9.062 kB / 1.222 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.9262, allocations: 12.14 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.9263, allocations: 176.4 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.9264, allocations: 3.406 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.9264, allocations: 3.969 kB / 1.222 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.9266, allocations: 72.28 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.9266, allocations: 0 / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.9266, allocations: 1.406 kB / 1.222 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9266, allocations: 4 kB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.9267, allocations: 41.91 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.9274, allocations: 320.3 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.9275, allocations: 42.59 kB / 1.222 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.932e-05/0.9276, allocations: 34.33 kB / 1.222 GB, free: 364 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.9276, allocations: 5 kB / 1.222 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.9279, allocations: 89.25 kB / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.9279, allocations: 0 / 1.222 GB, free: 276 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004366/0.9283, allocations: 132.3 kB / 1.223 GB, free: 200 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.9284, allocations: 61.52 kB / 1.223 GB, free: 128 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.9285, allocations: 125.2 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.9285, allocations: 34.75 kB / 1.223 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.482e-05/0.9286, allocations: 94.34 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.9286, allocations: 11.38 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.9287, allocations: 29.95 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.9288, allocations: 325 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.9289, allocations: 21.83 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.929, allocations: 48.72 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.9291, allocations: 77.11 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9292, allocations: 0.9688 kB / 1.223 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.9294, allocations: 113.5 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.9294, allocations: 4.656 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9294, allocations: 1.312 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.9294, allocations: 1.188 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.9295, allocations: 15.89 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.9295, allocations: 1.781 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.9296, allocations: 11.38 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.9296, allocations: 3.5 kB / 1.224 GB, free: 15.33 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.0001082/0.9297, allocations: 130.7 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.9298, allocations: 7.766 kB / 1.224 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.9298, allocations: 13.62 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.9298, allocations: 1.219 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9298, allocations: 0 / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9298, allocations: 0 / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.9303, allocations: 382.6 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9303, allocations: 1.094 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.9303, allocations: 15.11 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.9303, allocations: 1.062 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.9303, allocations: 1.094 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9303, allocations: 0 / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.9303, allocations: 5.031 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.9306, allocations: 208.8 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.9307, allocations: 83.25 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.9307, allocations: 9.219 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.9308, allocations: 6.656 kB / 1.224 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.9308, allocations: 10.23 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.9309, allocations: 2.219 kB / 1.224 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.9309, allocations: 92.83 kB / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9309, allocations: 0 / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003682/0.9313, allocations: 40.23 kB / 1.224 GB, free: 14.41 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.0004074/0.9317, allocations: 180.9 kB / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.9319, allocations: 63.69 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9319, allocations: 3.938 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.932, allocations: 35 kB / 1.225 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.9323, allocations: 7.156 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.9328, allocations: 201.6 kB / 1.225 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.9331, allocations: 0.6846 MB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.9331, allocations: 7.297 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.9332, allocations: 11.53 kB / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.9332, allocations: 0 / 1.226 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of Templates: time 0.004937/0.9381, allocations: 1.491 MB / 1.227 GB, free: 12.57 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.938613265752792]