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: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_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_9_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.001056/0.001056, 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.001129/0.001129, allocations: 192.8 kB / 16.14 MB, free: 6.719 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.407/2.407, allocations: 390.2 MB / 0.6642 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.89 kB / 0.8118 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7221, allocations: 140.4 MB / 0.9489 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002462/0.7246, allocations: 1.54 MB / 0.9504 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.7258, allocations: 0.7286 MB / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.7259, allocations: 0 / 0.9511 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.279e-05/0.7259, allocations: 3.938 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.726, allocations: 14.61 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.7264, allocations: 104 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.7265, allocations: 70.83 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.7266, allocations: 18.45 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.516e-05/0.7267, allocations: 36.77 kB / 0.9514 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.7268, allocations: 32.41 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.7268, allocations: 3.5 kB / 0.9514 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.727, allocations: 89.41 kB / 0.9515 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.727, allocations: 18.73 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.082e-05/0.7271, allocations: 32.41 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.7273, allocations: 139.5 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7273, allocations: 5.125 kB / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7273, allocations: 0 / 0.9517 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7273, allocations: 0 / 0.9517 GB, free: 7.098 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.0005524/0.7279, allocations: 420.4 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.7279, allocations: 8.562 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.728, allocations: 4.844 kB / 0.9521 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.7281, allocations: 168.4 kB / 0.9522 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.7281, allocations: 7.188 kB / 0.9523 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.7281, allocations: 7.188 kB / 0.9523 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.7283, allocations: 73.47 kB / 0.9523 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7283, allocations: 3.984 kB / 0.9523 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.7283, allocations: 4 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7283, allocations: 1.188 kB / 0.9523 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.7285, allocations: 32.27 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.729, allocations: 326.5 kB / 0.9527 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.7291, allocations: 60.23 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.934e-05/0.7292, allocations: 35.56 kB / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.7292, allocations: 1.062 kB / 0.9528 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.7294, allocations: 77.12 kB / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7294, allocations: 0 / 0.9528 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004096/0.7299, allocations: 140.7 kB / 0.953 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.7299, allocations: 61.8 kB / 0.953 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.385e-05/0.73, allocations: 119.8 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.73, allocations: 32.17 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.73, allocations: 89.56 kB / 0.9533 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.7301, allocations: 18.69 kB / 0.9533 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.7301, allocations: 26.86 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.7302, allocations: 319.9 kB / 0.9536 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.7303, allocations: 30.78 kB / 0.9536 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.7303, allocations: 44.62 kB / 0.9537 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.7305, allocations: 77.98 kB / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7305, allocations: 0 / 0.9538 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002138/0.7307, allocations: 113 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.7308, allocations: 5.875 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7308, allocations: 1.328 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.7308, allocations: 1.281 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/0.7309, allocations: 15.86 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.7309, allocations: 5.141 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.731, allocations: 7.656 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.731, allocations: 4.156 kB / 0.9539 GB, free: 4.957 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.616e-05/0.7311, allocations: 122.5 kB / 0.954 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.7311, allocations: 14.28 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.7311, allocations: 10.89 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7311, allocations: 4 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7311, allocations: 5.219 kB / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7311, allocations: 0 / 0.9541 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.7315, allocations: 382.3 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7315, allocations: 1.406 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.7316, allocations: 2.875 kB / 0.9544 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7316, allocations: 5.594 kB / 0.9544 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.7316, allocations: 3.984 kB / 0.9544 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7316, allocations: 1.406 kB / 0.9544 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7316, allocations: 7.938 kB / 0.9544 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.7318, allocations: 205.1 kB / 0.9546 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.7319, allocations: 82.92 kB / 0.9547 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.7319, allocations: 4.922 kB / 0.9547 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.732, allocations: 3.969 kB / 0.9547 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.732, allocations: 13.58 kB / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.7321, allocations: 6.625 kB / 0.9547 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.854e-05/0.7321, allocations: 95.98 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7321, allocations: 1.094 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003182/0.7324, allocations: 35.28 kB / 0.9549 GB, free: 4.039 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.0003813/0.7328, allocations: 163.9 kB / 0.955 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.7331, allocations: 74.02 kB / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7331, allocations: 0 / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.7332, allocations: 36.64 kB / 0.9551 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.7335, allocations: 10.23 kB / 0.9551 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.7339, allocations: 191.7 kB / 0.9553 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.7341, allocations: 0.6922 MB / 0.956 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.7341, allocations: 3.562 kB / 0.956 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.7342, allocations: 15.02 kB / 0.956 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.7342, allocations: 0 / 0.956 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of Templates: time 0.003964/0.7381, allocations: 1.378 MB / 0.9574 GB, free: 2.262 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (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 & ./Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time