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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004643/0.004643, allocations: 100.4 kB / 15.73 MB, free: 6.031 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.001131/0.001131, allocations: 193.2 kB / 16.67 MB, free: 5.965 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.889/2.889, allocations: 461.9 MB / 0.7348 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 60.12 kB / 1.054 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3574, allocations: 157.4 MB / 1.207 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003205/0.3606, allocations: 1.48 MB / 1.209 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3622, allocations: 0.7326 MB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.3623, allocations: 4 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.3624, allocations: 3.938 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.3625, allocations: 15.84 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.3632, allocations: 123.6 kB / 1.21 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3634, allocations: 79.77 kB / 1.21 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3635, allocations: 7.953 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.799e-05/0.3636, allocations: 43.89 kB / 1.21 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.3637, allocations: 39.84 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3637, allocations: 4 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.3639, allocations: 99.84 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.364, allocations: 15.92 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.364, allocations: 35.84 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3643, allocations: 135.9 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3643, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3643, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3643, allocations: 0 / 1.21 GB, free: 7.449 MB / 0.9669 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.0006998/0.365, allocations: 421 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3651, allocations: 16.56 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.3651, allocations: 34.75 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.3652, allocations: 16.83 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3653, allocations: 172.2 kB / 1.211 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3654, allocations: 4.375 kB / 1.211 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.3654, allocations: 4.375 kB / 1.211 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3656, allocations: 69.78 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3656, allocations: 7.938 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3656, allocations: 0 / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3656, allocations: 4 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.3658, allocations: 39.91 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005976/0.3664, allocations: 316.7 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3665, allocations: 50.55 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.866e-05/0.3666, allocations: 32.97 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3666, allocations: 4 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.3669, allocations: 79.31 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3669, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003795/0.3673, allocations: 137.6 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3673, allocations: 59.41 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3674, allocations: 125.7 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.3675, allocations: 25.7 kB / 1.212 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.3675, allocations: 92.14 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.3675, allocations: 15.73 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.3676, allocations: 29.72 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.3677, allocations: 322.8 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.3678, allocations: 27.98 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.3679, allocations: 54.48 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3681, allocations: 66.56 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3681, allocations: 4 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002319/0.3683, allocations: 109.8 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3684, allocations: 4 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.3684, allocations: 4 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3684, allocations: 3.938 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3685, allocations: 19.92 kB / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3685, allocations: 80 / 1.212 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.609e-05/0.3686, allocations: 7.984 kB / 1.212 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3686, allocations: 12.05 kB / 1.212 GB, free: 4.848 MB / 0.9669 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.0001121/0.3687, allocations: 117.8 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.3687, allocations: 7.906 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.3688, allocations: 8.375 kB / 1.212 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3688, allocations: 4 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3688, allocations: 3.984 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3688, allocations: 3.984 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.3693, allocations: 390.3 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3693, allocations: 0 / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.3693, allocations: 4 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3693, allocations: 0 / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3693, allocations: 0 / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3694, allocations: 11.94 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3694, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.3696, allocations: 215.3 kB / 1.213 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.3697, allocations: 85.02 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3697, allocations: 4 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.3698, allocations: 11.92 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.3699, allocations: 0 / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3699, allocations: 7.984 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.996e-05/0.3699, allocations: 91.88 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3699, allocations: 0 / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003011/0.3703, allocations: 39.98 kB / 1.213 GB, free: 3.758 MB / 0.9669 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.0009527/0.3712, allocations: 0.8093 MB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.3715, allocations: 67.97 kB / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3715, allocations: 0 / 1.214 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3716, allocations: 35.92 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3719, allocations: 15.92 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.3736, allocations: 1.497 MB / 1.216 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3739, allocations: 0.6885 MB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.836e-05/0.3739, allocations: 4 kB / 1.216 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.374, allocations: 23.42 kB / 1.216 GB, free: 496 kB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.374, allocations: 4 kB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.3949, allocations: 2.684 MB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/8.003, allocations: 0 / 1.219 GB, free: 13.94 MB / 0.9825 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