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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001581/0.001581, allocations: 104.8 kB / 16.37 MB, free: 6.457 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.001688/0.001688, allocations: 195.8 kB / 17.31 MB, free: 5.812 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 61.77 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002956/0.2756, allocations: 1.48 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.277, allocations: 0.7323 MB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.026e-05/0.2771, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.2772, allocations: 7.875 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.2772, allocations: 11.86 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005795/0.2778, allocations: 123.6 kB / 0.9534 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.278, allocations: 75.83 kB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.2781, allocations: 8 kB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2782, allocations: 43.84 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.2782, allocations: 35.83 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2783, allocations: 8 kB / 0.9536 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.2785, allocations: 95.91 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.878e-05/0.2785, allocations: 15.91 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.2786, allocations: 31.86 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.2788, allocations: 147.5 kB / 0.9539 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2788, allocations: 4 kB / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2788, allocations: 0 / 0.9539 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2788, allocations: 0 / 0.9539 GB, free: 5.227 MB / 0.7325 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.0006242/0.2794, allocations: 416.9 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2795, allocations: 12.03 kB / 0.9543 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.2795, allocations: 8.844 kB / 0.9543 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2797, allocations: 172.3 kB / 0.9544 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2797, allocations: 4.375 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2797, allocations: 4.375 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.2799, allocations: 85.83 kB / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2799, allocations: 4 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2799, allocations: 3.984 kB / 0.9545 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2799, allocations: 3.938 kB / 0.9545 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2801, allocations: 35.97 kB / 0.9546 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.2806, allocations: 320.7 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2808, allocations: 50.5 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.2809, allocations: 36.97 kB / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.2809, allocations: 0 / 0.955 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.2811, allocations: 75.38 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.2811, allocations: 4 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004526/0.2815, allocations: 137.6 kB / 0.9552 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2816, allocations: 63.33 kB / 0.9552 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.738e-05/0.2817, allocations: 113.8 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.2817, allocations: 33.7 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.2818, allocations: 88.12 kB / 0.9555 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2818, allocations: 19.75 kB / 0.9555 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.2819, allocations: 33.7 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.282, allocations: 318.8 kB / 0.9558 GB, free: 3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.2821, allocations: 27.97 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.2822, allocations: 50.55 kB / 0.9559 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.2823, allocations: 74.48 kB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2823, allocations: 4 kB / 0.956 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002171/0.2825, allocations: 109.5 kB / 0.9561 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2826, allocations: 8 kB / 0.9561 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2826, allocations: 3.938 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2826, allocations: 0 / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.2827, allocations: 8 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2827, allocations: 12.05 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.2828, allocations: 7.906 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.2828, allocations: 8 kB / 0.9561 GB, free: 2.668 MB / 0.7325 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.353e-05/0.2829, allocations: 123.7 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.2829, allocations: 4 kB / 0.9562 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.283, allocations: 12.36 kB / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.283, allocations: 0 / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.283, allocations: 0 / 0.9562 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.283, allocations: 4 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2834, allocations: 386.3 kB / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2834, allocations: 0 / 0.9566 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.2835, allocations: 3.938 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2835, allocations: 8 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2835, allocations: 3.984 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2835, allocations: 0 / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2835, allocations: 3.938 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2838, allocations: 212 kB / 0.9568 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.09e-05/0.2838, allocations: 84.95 kB / 0.9569 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.2839, allocations: 3.984 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.284, allocations: 4 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.284, allocations: 15.92 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.284, allocations: 0 / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.2841, allocations: 95.27 kB / 0.957 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2841, allocations: 4 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003018/0.2844, allocations: 36 kB / 0.9571 GB, free: 1.582 MB / 0.7325 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.0003377/0.2848, allocations: 164.8 kB / 0.9572 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.285, allocations: 72.02 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.285, allocations: 0 / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.2851, allocations: 39.92 kB / 0.9573 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.2854, allocations: 10.05 kB / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.2858, allocations: 188.9 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.2861, allocations: 0.6922 MB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.583e-05/0.2862, allocations: 12.05 kB / 0.9582 GB, free: 372 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.2862, allocations: 11.38 kB / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2862, allocations: 0 / 0.9582 GB, free: 360 kB / 0.7325 GB Notification: Performance of Templates: time 0.004296/0.2905, allocations: 1.453 MB / 0.9596 GB, free: 14.9 MB / 0.7481 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 -s cvode -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/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,hea.A,hea.B,hea.TOut,hea.occ,hea.on,hea.samplePeriod,hea.seed,hea.t0,occ.startTime,occ.startValue,time