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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Nicol2001HeatingEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_10_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.005524/0.005524, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001648/0.001648, allocations: 202 kB / 16.68 MB, free: 5.969 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.289/2.289, allocations: 437.1 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2323, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002301/0.2346, allocations: 1.478 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2358, allocations: 0.7323 MB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.2358, allocations: 0 / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.2359, allocations: 3.938 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.2359, allocations: 19.86 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/0.2364, allocations: 115.6 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.2365, allocations: 83.7 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.2366, allocations: 7.984 kB / 1.169 GB, free: 4.844 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.2366, allocations: 35.91 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.2367, allocations: 43.83 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.2367, allocations: 8 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.2369, allocations: 95.84 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.237, allocations: 15.98 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.237, allocations: 31.86 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.2372, allocations: 143.8 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2372, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2372, allocations: 3.938 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2372, allocations: 3.938 kB / 1.169 GB, free: 4.469 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.0005394/0.2378, allocations: 424.7 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.2378, allocations: 12.03 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.2379, allocations: 34.75 kB / 1.169 GB, free: 3.945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.2379, allocations: 8.891 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.238, allocations: 180.2 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.238, allocations: 4.375 kB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2381, allocations: 8.375 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.2382, allocations: 65.78 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2382, allocations: 0 / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2383, allocations: 4 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2383, allocations: 0 / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2384, allocations: 43.91 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.2389, allocations: 308.8 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.239, allocations: 54.48 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.041e-05/0.2391, allocations: 40.95 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2391, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.2393, allocations: 83.38 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.2393, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003481/0.2397, allocations: 137.6 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2397, allocations: 55.41 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.2398, allocations: 129.8 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.2398, allocations: 29.64 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.2399, allocations: 96.09 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2399, allocations: 19.83 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.24, allocations: 25.72 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.2401, allocations: 322.8 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.2402, allocations: 27.92 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.2403, allocations: 50.55 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.2404, allocations: 70.56 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2404, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002206/0.2406, allocations: 117.6 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.2407, allocations: 8 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.2407, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2407, allocations: 0 / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.2408, allocations: 15.92 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2408, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.2409, allocations: 11.98 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2409, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 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.307e-05/0.241, allocations: 125.8 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.241, allocations: 3.953 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.241, allocations: 12.38 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.241, allocations: 0 / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.241, allocations: 4 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.241, allocations: 3.984 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.2414, allocations: 378.4 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2415, allocations: 3.984 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.2415, allocations: 8 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2415, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2415, allocations: 7.938 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2415, allocations: 3.938 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2415, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.2418, allocations: 207.4 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.2419, allocations: 85 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.2419, allocations: 0 / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.242, allocations: 19.92 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.242, allocations: 7.938 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.242, allocations: 0 / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.2421, allocations: 95.27 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2421, allocations: 0 / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002496/0.2424, allocations: 39.92 kB / 1.172 GB, free: 0.7734 MB / 0.92 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.0007367/0.2431, allocations: 0.8062 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2433, allocations: 71.89 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2433, allocations: 4.125 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.2434, allocations: 31.98 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.2436, allocations: 19.86 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.2451, allocations: 1.488 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.2453, allocations: 0.6885 MB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.2454, allocations: 7.938 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.2454, allocations: 23.42 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2454, allocations: 0 / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.905/3.15, allocations: 2.652 MB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.572/12.72, allocations: 16.44 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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