Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, 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.00162/0.00162, 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.526/1.526, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.732/2.732, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003001/0.003002, allocations: 67.89 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6929/0.6959, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002768/0.6987, allocations: 1.538 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.7, allocations: 0.7207 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.7, allocations: 8 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.7001, allocations: 3.938 kB / 1.019 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.697e-05/0.7002, allocations: 7.922 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.7007, allocations: 115.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.7008, allocations: 71.78 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.7009, allocations: 15.97 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.701, allocations: 35.86 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/0.7011, allocations: 39.83 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.7011, allocations: 8 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.7013, allocations: 95.91 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.7014, allocations: 19.91 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.7014, allocations: 31.92 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.7017, allocations: 141.5 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.7017, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7017, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.7017, allocations: 0 / 1.02 GB, free: 15.85 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.000708/0.7024, allocations: 424.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.7025, allocations: 12.03 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.7025, allocations: 4.844 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.7027, allocations: 172.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.7027, allocations: 4.375 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.7027, allocations: 8.375 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.7029, allocations: 69.97 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.7029, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.703, allocations: 3.938 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.703, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.7031, allocations: 35.97 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.7037, allocations: 316.6 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.7039, allocations: 54.55 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.704, allocations: 32.97 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.704, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.7042, allocations: 83.38 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.7042, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004076/0.7046, allocations: 145.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.7047, allocations: 55.41 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7048, allocations: 117.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.7048, allocations: 33.64 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.7049, allocations: 88.14 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.7049, allocations: 15.75 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.705, allocations: 29.7 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.7051, allocations: 326.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.7052, allocations: 23.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.925e-05/0.7053, allocations: 54.55 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.7055, allocations: 66.56 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.7055, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002459/0.7058, allocations: 125.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.7058, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7058, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.7058, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.7059, allocations: 15.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7059, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.706, allocations: 15.84 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.706, allocations: 7.984 kB / 1.022 GB, free: 13.29 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 9.994e-05/0.7061, allocations: 121.8 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.7062, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.7062, allocations: 8.375 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7062, allocations: 7.875 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7062, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7062, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.7067, allocations: 386.4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7068, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.7068, allocations: 11.98 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.7068, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.7068, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7068, allocations: 0 / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/0.7069, allocations: 7.875 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.7072, allocations: 207.5 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.7072, allocations: 81.02 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.7072, allocations: 8 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.7073, allocations: 3.984 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.7074, allocations: 7.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.7074, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.7075, allocations: 99.86 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7075, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002989/0.7078, allocations: 43.92 kB / 1.023 GB, free: 12.21 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.0003721/0.7082, allocations: 162.4 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.7084, allocations: 79.89 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7084, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.7085, allocations: 36.05 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.7088, allocations: 9.453 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.7092, allocations: 197 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.7096, allocations: 0.6923 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.7096, allocations: 11.97 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.7096, allocations: 7.438 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7096, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.004595/0.7142, allocations: 1.412 MB / 1.025 GB, free: 9.566 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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