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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00185/0.00185, allocations: 196.6 kB / 16.14 MB, free: 6.633 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.668/1.668, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 55.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.81, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003092/0.8131, allocations: 1.544 MB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.8146, allocations: 0.7518 MB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.8146, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.8147, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.624e-05/0.8148, allocations: 7.938 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.8153, allocations: 99.77 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.8154, allocations: 75.77 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.8155, allocations: 15.98 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.365e-05/0.8156, allocations: 31.91 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.8157, allocations: 39.83 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.8157, allocations: 4 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.8159, allocations: 91.84 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.8159, allocations: 15.92 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.816, allocations: 27.86 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.8163, allocations: 129.6 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.8163, allocations: 0 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.076e-06/0.8163, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.8163, allocations: 4 kB / 1.019 GB, free: 15.91 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.0007202/0.817, allocations: 417 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.8171, allocations: 12.03 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.8172, allocations: 12.84 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.8173, allocations: 172.3 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.8173, allocations: 384 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.8174, allocations: 4.375 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.8176, allocations: 81.91 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8176, allocations: 3.984 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8176, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.8176, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.8178, allocations: 35.92 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.8184, allocations: 324.7 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.8186, allocations: 46.5 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.8187, allocations: 32.97 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.8187, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.819, allocations: 79.38 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.819, allocations: 7.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004462/0.8194, allocations: 137.5 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.8195, allocations: 59.39 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.8196, allocations: 117.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.8197, allocations: 29.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.8198, allocations: 92.12 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.8198, allocations: 11.81 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-05/0.8199, allocations: 33.7 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8201, allocations: 318.8 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.8202, allocations: 31.91 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.8203, allocations: 46.56 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.8205, allocations: 78.8 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8205, allocations: 0 / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002666/0.8208, allocations: 121.5 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.8208, allocations: 4 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8208, allocations: 0 / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.8209, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.821, allocations: 11.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.821, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.8211, allocations: 19.84 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.8211, allocations: 8 kB / 1.022 GB, free: 13.35 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.0001054/0.8212, allocations: 121.7 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.8212, allocations: 4 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.8213, allocations: 12.36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.8213, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.8213, allocations: 4 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8213, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.8218, allocations: 382.4 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8218, allocations: 0 / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.8219, allocations: 7.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8219, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.8219, allocations: 3.984 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8219, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.8219, allocations: 3.938 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.8222, allocations: 211.4 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.8223, allocations: 77.11 kB / 1.022 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.8223, allocations: 7.984 kB / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.8224, allocations: 0 / 1.022 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.8225, allocations: 15.92 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.8225, allocations: 4 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.348e-05/0.8226, allocations: 95.86 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8226, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000319/0.8229, allocations: 39.94 kB / 1.023 GB, free: 12.27 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.0003998/0.8233, allocations: 152.4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.8236, allocations: 75.95 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8236, allocations: 4.062 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8237, allocations: 35.92 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.824, allocations: 15.97 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.8244, allocations: 196.3 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.8248, allocations: 0.6887 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.8248, allocations: 4 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.8249, allocations: 11.42 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8249, allocations: 3.938 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of Templates: time 0.005519/0.8304, allocations: 1.378 MB / 1.025 GB, free: 9.668 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (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 & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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/jenkins/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,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time