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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001356/0.001356, allocations: 196 kB / 16.14 MB, free: 6.711 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: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6137, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003434/0.6172, allocations: 1.542 MB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.6188, allocations: 0.7518 MB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.6189, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.761e-05/0.6189, allocations: 3.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.58e-05/0.619, allocations: 7.922 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.6196, allocations: 103.8 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.6198, allocations: 71.77 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.6199, allocations: 16 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.6201, allocations: 27.91 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.091e-05/0.6202, allocations: 39.83 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.6202, allocations: 4 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.6204, allocations: 91.84 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.882e-05/0.6205, allocations: 19.91 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.6205, allocations: 23.86 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.6209, allocations: 142 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.6209, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6209, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6209, allocations: 0 / 1.019 GB, free: 15.97 MB / 0.7794 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.0008615/0.6218, allocations: 417 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.6218, allocations: 12.02 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.303e-05/0.6219, allocations: 38.75 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.622, allocations: 8.844 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.6221, allocations: 168.3 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.6222, allocations: 8.312 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.6222, allocations: 12.36 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.6225, allocations: 73.72 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6225, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.6225, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6225, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.6227, allocations: 35.97 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007239/0.6234, allocations: 324.6 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.6236, allocations: 50.44 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.6237, allocations: 32.97 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.6237, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.624, allocations: 83.38 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.624, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004927/0.6245, allocations: 141.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.6246, allocations: 59.41 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6247, allocations: 117.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.6247, allocations: 25.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.6248, allocations: 96.12 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.6249, allocations: 11.81 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.6249, allocations: 29.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.6251, allocations: 322.8 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.6252, allocations: 23.97 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.6253, allocations: 51 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.6255, allocations: 78.48 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6255, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.6257, allocations: 109.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.6258, allocations: 4 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6258, allocations: 3.938 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.6258, allocations: 8.062 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6259, allocations: 11.98 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.6259, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.626, allocations: 15.84 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.626, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 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.0001089/0.6262, allocations: 122.2 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.6262, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.6262, allocations: 8.375 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.6262, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.6263, allocations: 8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6263, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.6267, allocations: 386.3 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6267, allocations: 3.984 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.6268, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.6268, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.6268, allocations: 3.984 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6268, allocations: 7.938 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6268, allocations: 480 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.6271, allocations: 211.4 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.6272, allocations: 81.09 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.6272, allocations: 8 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-05/0.6273, allocations: 3.938 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.6274, allocations: 15.92 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.6274, allocations: 4 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.725e-05/0.6275, allocations: 99.36 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6275, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003222/0.6278, allocations: 39.94 kB / 1.023 GB, free: 12.29 MB / 0.7794 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.0008642/0.6287, allocations: 0.7921 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.6289, allocations: 71.89 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6289, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001081/0.6291, allocations: 35.98 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.6293, allocations: 14.88 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.6312, allocations: 1.5 MB / 1.025 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.6316, allocations: 0.6887 MB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.6316, allocations: 7.938 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.6317, allocations: 21.17 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6317, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.946/1.578, allocations: 2.428 MB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003002/1.578, allocations: 266.9 kB / 1.028 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/3.73, allocations: 3.938 kB / 1.028 GB, free: 6.387 MB / 0.7794 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=50 --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