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.001341/0.001341, allocations: 109.8 kB / 16.46 MB, free: 6.035 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.001386/0.001386, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.441/1.441, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.91 kB / 1.056 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7697/0.7717, allocations: 160.7 MB / 1.213 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.003004/0.7747, allocations: 1.498 MB / 1.214 GB, free: 2.707 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.7761, allocations: 0.7327 MB / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.7762, allocations: 0 / 1.215 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.7762, allocations: 7.922 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.062e-05/0.7763, allocations: 13.86 kB / 1.215 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.7768, allocations: 121.5 kB / 1.215 GB, free: 2.035 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.777, allocations: 75.09 kB / 1.215 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.777, allocations: 8.891 kB / 1.215 GB, free: 1.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.986e-05/0.7771, allocations: 36.84 kB / 1.215 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.7772, allocations: 47.55 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.7772, allocations: 7.469 kB / 1.215 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.7774, allocations: 103.1 kB / 1.215 GB, free: 1.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.7775, allocations: 19.06 kB / 1.215 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.742e-05/0.7775, allocations: 30.83 kB / 1.216 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.7778, allocations: 140.3 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7778, allocations: 1.188 kB / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7778, allocations: 0 / 1.216 GB, free: 1.746 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7778, allocations: 0 / 1.216 GB, free: 1.746 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.0006901/0.7785, allocations: 432.5 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.7785, allocations: 10.52 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.7785, allocations: 32.03 kB / 1.216 GB, free: 1.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.7786, allocations: 8.641 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.7787, allocations: 172.2 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.7787, allocations: 10.5 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.7788, allocations: 8.391 kB / 1.216 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.779, allocations: 71.11 kB / 1.216 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.779, allocations: 1.188 kB / 1.216 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.779, allocations: 4 kB / 1.216 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.779, allocations: 0.9375 kB / 1.216 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.7791, allocations: 41.09 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.7797, allocations: 309.6 kB / 1.217 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.7798, allocations: 50.78 kB / 1.217 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.7799, allocations: 30.12 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.7799, allocations: 1.094 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.7801, allocations: 81.44 kB / 1.217 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.7802, allocations: 0 / 1.217 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000396/0.7805, allocations: 144 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.7806, allocations: 57 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.7807, allocations: 125.1 kB / 1.217 GB, free: 240 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.7807, allocations: 26.83 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.7808, allocations: 94.7 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.7808, allocations: 14.28 kB / 1.217 GB, free: 100 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.7809, allocations: 30.48 kB / 1.217 GB, free: 72 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.781, allocations: 325.3 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.7811, allocations: 26.36 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.7812, allocations: 43.59 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7814, allocations: 74.14 kB / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.7814, allocations: 0 / 1.218 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002617/0.7816, allocations: 120.9 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7816, allocations: 5.531 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7817, allocations: 1.219 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.7817, allocations: 0.9375 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.7818, allocations: 16.91 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.7818, allocations: 1.219 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.7818, allocations: 7.562 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.7819, allocations: 11.16 kB / 1.218 GB, free: 15.55 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.0001079/0.782, allocations: 126.7 kB / 1.218 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.782, allocations: 11.81 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.707e-05/0.782, allocations: 9.469 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.782, allocations: 5.031 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.782, allocations: 0 / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.782, allocations: 1.188 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.7825, allocations: 379 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7825, allocations: 4 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.941e-05/0.7826, allocations: 7.656 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7826, allocations: 4.734 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.7826, allocations: 1.062 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7826, allocations: 3.938 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7826, allocations: 1.062 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.7829, allocations: 209.1 kB / 1.219 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.7829, allocations: 91.33 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.7829, allocations: 1.375 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.355e-05/0.783, allocations: 6.188 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.7831, allocations: 11.67 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.7831, allocations: 0.9688 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.7832, allocations: 97.36 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.7832, allocations: 0 / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000316/0.7835, allocations: 40.09 kB / 1.219 GB, free: 14.63 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.0009016/0.7844, allocations: 0.7941 MB / 1.22 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.7846, allocations: 79.81 kB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7846, allocations: 3.938 kB / 1.22 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.7847, allocations: 31.05 kB / 1.22 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.785, allocations: 10.22 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.7868, allocations: 1.506 MB / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.7871, allocations: 0.6844 MB / 1.222 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.7872, allocations: 6.766 kB / 1.222 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.7872, allocations: 19.81 kB / 1.222 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of SimCode: time 5.41e-07/0.7872, allocations: 3.938 kB / 1.222 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02584/0.813, allocations: 2.689 MB / 1.225 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.88, allocations: 5.375 kB / 1.225 GB, free: 10.33 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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,TOut.y,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.p,hea.samplePeriod,hea.seed,occ.startTime,occ.startValue,occ.y,time [Calling sys.exit(0), Time elapsed: 14.716788026038557]