Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_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.001333/0.001333, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.83 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6733/0.6747, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002202/0.677, allocations: 1.473 MB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009897/0.678, allocations: 0.7378 MB / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.733e-05/0.678, allocations: 0 / 0.9519 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.03e-05/0.6781, allocations: 5 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.6781, allocations: 12.86 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.6786, allocations: 119.4 kB / 0.952 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.015e-05/0.6787, allocations: 78.64 kB / 0.9521 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.6788, allocations: 18.19 kB / 0.9521 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.6789, allocations: 32.98 kB / 0.9521 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.04e-05/0.679, allocations: 40.05 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.679, allocations: 6.875 kB / 0.9522 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.6792, allocations: 101.9 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.747e-05/0.6792, allocations: 14.95 kB / 0.9523 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.6793, allocations: 39.56 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.6796, allocations: 135.6 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.6796, allocations: 1.312 kB / 0.9525 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6796, allocations: 3.938 kB / 0.9525 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6796, allocations: 0 / 0.9525 GB, free: 7.023 MB / 0.7169 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.0007108/0.6803, allocations: 421 kB / 0.9529 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.6804, allocations: 9.219 kB / 0.9529 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.6804, allocations: 39.73 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.6805, allocations: 5.188 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.6806, allocations: 171.5 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.6806, allocations: 3.688 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.6806, allocations: 3.188 kB / 0.9531 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.6808, allocations: 76.56 kB / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.6808, allocations: 0 / 0.9532 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.6809, allocations: 5.047 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6809, allocations: 1.406 kB / 0.9532 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.681, allocations: 31.45 kB / 0.9532 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.6816, allocations: 330.8 kB / 0.9535 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.6817, allocations: 48.19 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.358e-05/0.6818, allocations: 32.19 kB / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.6818, allocations: 0 / 0.9536 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.682, allocations: 81.78 kB / 0.9537 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.574e-06/0.682, allocations: 3.984 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004081/0.6824, allocations: 136.5 kB / 0.9538 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6825, allocations: 57.56 kB / 0.9538 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.6826, allocations: 120.4 kB / 0.954 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.6826, allocations: 35.05 kB / 0.954 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.6826, allocations: 91.31 kB / 0.9541 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.6827, allocations: 21.5 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.6827, allocations: 30.89 kB / 0.9541 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.6828, allocations: 320.3 kB / 0.9544 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.6829, allocations: 22.55 kB / 0.9545 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.6829, allocations: 52.58 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.6831, allocations: 73.7 kB / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6831, allocations: 0 / 0.9546 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002051/0.6833, allocations: 113.5 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6833, allocations: 5.625 kB / 0.9547 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6833, allocations: 4.062 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6834, allocations: 2.281 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.6835, allocations: 8.062 kB / 0.9547 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.6835, allocations: 5.109 kB / 0.9547 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.6835, allocations: 11.47 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.6835, allocations: 3.953 kB / 0.9547 GB, free: 4.844 MB / 0.7169 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 6.192e-05/0.6836, allocations: 126 kB / 0.9548 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.6836, allocations: 11.5 kB / 0.9549 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.6837, allocations: 17.45 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6837, allocations: 1.094 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6837, allocations: 1.125 kB / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6837, allocations: 0 / 0.9549 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.684, allocations: 382.9 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.684, allocations: 3.938 kB / 0.9552 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.6841, allocations: 4.156 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6841, allocations: 0 / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6841, allocations: 13.02 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6841, allocations: 8.938 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6841, allocations: 0 / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.6843, allocations: 197.5 kB / 0.9555 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.6844, allocations: 83.98 kB / 0.9555 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.6844, allocations: 3.984 kB / 0.9555 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.6845, allocations: 14.91 kB / 0.9556 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.6845, allocations: 2.812 kB / 0.9556 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.6845, allocations: 6.609 kB / 0.9556 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.6846, allocations: 93.14 kB / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6846, allocations: 0 / 0.9557 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002746/0.6849, allocations: 39.94 kB / 0.9557 GB, free: 3.93 MB / 0.7169 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.0005991/0.6855, allocations: 0.8051 MB / 0.9565 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.6857, allocations: 74.55 kB / 0.9566 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6857, allocations: 0 / 0.9566 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.707e-05/0.6858, allocations: 40.64 kB / 0.9566 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.686, allocations: 14.83 kB / 0.9566 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.6872, allocations: 1.486 MB / 0.9581 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.669e-05/0.6873, allocations: 0.6892 MB / 0.9587 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.6874, allocations: 2.625 kB / 0.9587 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.6874, allocations: 19.38 kB / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.6874, allocations: 0 / 0.9588 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.622/3.31, allocations: 2.616 MB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.268/12.58, allocations: 16.14 kB / 0.9613 GB, free: 15.65 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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