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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001101/0.001101, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.274/2.274, allocations: 390.2 MB / 0.6644 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5982, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.00248/0.6007, allocations: 1.535 MB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.6018, allocations: 0.7188 MB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.6018, allocations: 0 / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.6019, allocations: 7.922 kB / 0.9514 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.6019, allocations: 9.797 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.6024, allocations: 110.1 kB / 0.9515 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.451e-05/0.6025, allocations: 76.31 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.6026, allocations: 29.48 kB / 0.9517 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.6027, allocations: 33.94 kB / 0.9517 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.6028, allocations: 38.73 kB / 0.9517 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.6028, allocations: 7.188 kB / 0.9517 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.603, allocations: 98.12 kB / 0.9518 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.603, allocations: 14.42 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.6031, allocations: 37.12 kB / 0.9519 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.6033, allocations: 135.6 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6033, allocations: 4 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6033, allocations: 1.25 kB / 0.952 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.6033, allocations: 3.938 kB / 0.952 GB, free: 6.996 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.0005453/0.6038, allocations: 419.8 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6039, allocations: 9.281 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.6039, allocations: 36.02 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.604, allocations: 5.719 kB / 0.9525 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.5e-05/0.604, allocations: 171 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.6041, allocations: 11.09 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.6041, allocations: 4.281 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.6043, allocations: 72.7 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.6043, allocations: 3.938 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6043, allocations: 4 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6043, allocations: 1.312 kB / 0.9527 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.6044, allocations: 35.94 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.605, allocations: 326.2 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.6051, allocations: 48.53 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.525e-05/0.6052, allocations: 31.44 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.6052, allocations: 1.438 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.6053, allocations: 77.44 kB / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6054, allocations: 0 / 0.9532 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003653/0.6057, allocations: 140.7 kB / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.6058, allocations: 60.67 kB / 0.9534 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.6058, allocations: 117.6 kB / 0.9535 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.6059, allocations: 30.86 kB / 0.9535 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.6059, allocations: 98.72 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.6059, allocations: 14.31 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.606, allocations: 26.48 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.606, allocations: 320.2 kB / 0.954 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.519e-05/0.6061, allocations: 30.38 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.6062, allocations: 49.53 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.6063, allocations: 77.98 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6063, allocations: 0 / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002087/0.6066, allocations: 113.1 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6066, allocations: 4.781 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6066, allocations: 1.578 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.6066, allocations: 5.219 kB / 0.9543 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.2e-05/0.6067, allocations: 12.61 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6067, allocations: 5.25 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.6068, allocations: 7.688 kB / 0.9543 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.6068, allocations: 2.75 kB / 0.9543 GB, free: 4.816 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.947e-05/0.6069, allocations: 123.4 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.6069, allocations: 10.39 kB / 0.9544 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.6069, allocations: 9.844 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.6069, allocations: 1.469 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.6069, allocations: 0 / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6069, allocations: 1.281 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.6073, allocations: 391 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.6073, allocations: 0 / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.6074, allocations: 3.594 kB / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6074, allocations: 0 / 0.9548 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.6074, allocations: 5.016 kB / 0.9548 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.6074, allocations: 9.438 kB / 0.9548 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.6074, allocations: 7.875 kB / 0.9548 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.6076, allocations: 205.4 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.6076, allocations: 91.34 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.6077, allocations: 1.375 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.6078, allocations: 6.625 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.6078, allocations: 10.52 kB / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.6078, allocations: 6.828 kB / 0.9551 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.6079, allocations: 100 kB / 0.9552 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6079, allocations: 0 / 0.9552 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002782/0.6082, allocations: 40.12 kB / 0.9553 GB, free: 3.887 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.0006067/0.6088, allocations: 0.7919 MB / 0.956 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.609, allocations: 74.39 kB / 0.9561 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.609, allocations: 0 / 0.9561 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.6091, allocations: 35.55 kB / 0.9561 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.6094, allocations: 15.22 kB / 0.9561 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.6106, allocations: 1.506 MB / 0.9576 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.6107, allocations: 0.6891 MB / 0.9583 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.586e-05/0.6108, allocations: 3.281 kB / 0.9583 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.6108, allocations: 22.7 kB / 0.9583 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6108, allocations: 0 / 0.9583 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.6257, allocations: 2.49 MB / 0.9607 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.626, allocations: 266 kB / 0.961 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.359, allocations: 4 kB / 0.961 GB, free: 15.4 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