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.006627/0.006627, allocations: 101.9 kB / 15.73 MB, free: 6.012 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.001183/0.001183, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.324 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.408/2.408, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 61.5 kB / 0.9504 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3309, allocations: 140.4 MB / 1.087 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003483/0.3344, allocations: 1.475 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3361, allocations: 0.7259 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.3363, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.3363, allocations: 7.922 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.843e-05/0.3364, allocations: 15.86 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.3373, allocations: 115.6 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000188/0.3375, allocations: 79.7 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3377, allocations: 15.97 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3378, allocations: 35.86 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.338, allocations: 43.88 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.338, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.3384, allocations: 99.84 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.3384, allocations: 19.92 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.3385, allocations: 35.84 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.3389, allocations: 138.5 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.339, allocations: 4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.666e-06/0.339, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.339, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 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.0009464/0.34, allocations: 421.8 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.34, allocations: 8.031 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.3401, allocations: 34.75 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.3401, allocations: 8.844 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3403, allocations: 176.2 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/0.3403, allocations: 4.375 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3404, allocations: 8.359 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.3406, allocations: 73.77 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3406, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3406, allocations: 4 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.3407, allocations: 0 / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.3408, allocations: 35.97 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.3415, allocations: 316.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.3417, allocations: 54.56 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.865e-05/0.3418, allocations: 28.97 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.3419, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.3421, allocations: 75.38 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 6.943e-06/0.3422, allocations: 7.922 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004375/0.3426, allocations: 141.5 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3427, allocations: 51.41 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3428, allocations: 129.7 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3428, allocations: 25.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.3429, allocations: 96.11 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.3429, allocations: 19.8 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.343, allocations: 29.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3431, allocations: 322.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.3432, allocations: 27.98 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.93e-05/0.3433, allocations: 46.5 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.3435, allocations: 74.48 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3435, allocations: 7.938 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002564/0.3438, allocations: 109.6 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3438, allocations: 8 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3438, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3438, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.344, allocations: 15.92 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.344, allocations: 4 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.3441, allocations: 15.91 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3441, allocations: 64 / 1.092 GB, free: 12.65 MB / 0.8575 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.000119/0.3442, allocations: 129.7 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3442, allocations: 7.891 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.3443, allocations: 12.38 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3443, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3443, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3443, allocations: 0 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.3449, allocations: 382.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3449, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.3449, allocations: 4 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.345, allocations: 3.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.345, allocations: 8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.345, allocations: 3.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.345, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003381/0.3453, allocations: 207.8 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.3454, allocations: 89 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3455, allocations: 0 / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.992e-05/0.3456, allocations: 7.938 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/0.3456, allocations: 15.92 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3457, allocations: 0 / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.561e-05/0.3457, allocations: 91.27 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3457, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003747/0.3461, allocations: 36 kB / 1.093 GB, free: 11.57 MB / 0.8575 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.001146/0.3473, allocations: 0.802 MB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002853/0.3476, allocations: 75.95 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3476, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3477, allocations: 35.92 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.348, allocations: 15.92 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.3501, allocations: 1.498 MB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.3505, allocations: 0.6846 MB / 1.096 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.395e-05/0.3506, allocations: 11.73 kB / 1.096 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.3506, allocations: 15.44 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.3506, allocations: 4 kB / 1.096 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3734, allocations: 2.68 MB / 1.099 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.271, allocations: 11.69 kB / 1.099 GB, free: 5.746 MB / 0.8575 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