Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009053/0.0009053, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007469/0.007469, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.502/2.502, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 7.719 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00147/0.234, allocations: 1.213 MB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2351, allocations: 0.7168 MB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.2352, allocations: 4 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.2352, allocations: 3.938 kB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.274e-05/0.2353, allocations: 7.922 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004482/0.2357, allocations: 103.8 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.122e-05/0.2358, allocations: 71.83 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.844e-05/0.2359, allocations: 4 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.236, allocations: 35.86 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.236, allocations: 43.81 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.2361, allocations: 4 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.2362, allocations: 87.91 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.2363, allocations: 15.92 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.2363, allocations: 53.55 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.2365, allocations: 139.8 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2365, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2365, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.2366, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 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.0005034/0.2371, allocations: 409 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2371, allocations: 11.97 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.179e-05/0.2372, allocations: 38.73 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.2372, allocations: 4.938 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.935e-05/0.2373, allocations: 184.1 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2373, allocations: 4.375 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2373, allocations: 4.375 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.2375, allocations: 77.78 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2375, allocations: 3.938 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2375, allocations: 0 / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2376, allocations: 11.92 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.2377, allocations: 35.98 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.2382, allocations: 328.7 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2384, allocations: 50.56 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.2385, allocations: 36.97 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2385, allocations: 7.922 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.2387, allocations: 79.38 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2387, allocations: 0 / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/0.239, allocations: 145.5 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2391, allocations: 59.41 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.251e-05/0.2392, allocations: 117.8 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2392, allocations: 29.7 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.2392, allocations: 88.16 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.2393, allocations: 27.72 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.2393, allocations: 21.72 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.2394, allocations: 326.8 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.2395, allocations: 23.98 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2396, allocations: 54.55 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.2398, allocations: 78.86 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2398, allocations: 3.938 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002332/0.24, allocations: 121.5 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.24, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2401, allocations: 0 / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2401, allocations: 4 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.2402, allocations: 11.98 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2402, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.2402, allocations: 15.94 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.2403, allocations: 3.984 kB / 1.064 GB, free: 15.73 MB / 0.8262 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 8.075e-05/0.2404, allocations: 125.8 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.2404, allocations: 3.906 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.2404, allocations: 16.31 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2404, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2404, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.2404, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.2408, allocations: 394.4 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2409, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.2409, allocations: 11.92 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2409, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2409, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.2409, allocations: 7.938 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2409, allocations: 3.938 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.2412, allocations: 215.4 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.2413, allocations: 81.02 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.2413, allocations: 4 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.154e-05/0.2414, allocations: 11.92 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.2414, allocations: 8 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.2414, allocations: 4 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.341e-05/0.2415, allocations: 95.27 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2415, allocations: 0 / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000276/0.2418, allocations: 39.98 kB / 1.064 GB, free: 14.62 MB / 0.8262 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.0006808/0.2425, allocations: 0.8083 MB / 1.065 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2427, allocations: 87.81 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2427, allocations: 4.062 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.232e-05/0.2428, allocations: 39.98 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.2431, allocations: 15.92 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2445, allocations: 1.527 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.2447, allocations: 0.6848 MB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.2447, allocations: 7.984 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.2448, allocations: 15.44 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2448, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.928/2.172, allocations: 2.337 MB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/2.173, allocations: 264 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/4.537, allocations: 0 / 1.07 GB, free: 8.797 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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