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.001324/0.001323, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001423/0.001423, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.163/2.163, allocations: 390.2 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.47 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003152/0.2773, allocations: 1.484 MB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001427/0.2787, allocations: 0.7284 MB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.2788, allocations: 0 / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.2788, allocations: 3.938 kB / 0.9524 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.2789, allocations: 7.875 kB / 0.9524 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.2796, allocations: 119.6 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.2797, allocations: 87.75 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2799, allocations: 19.92 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.28, allocations: 31.92 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.2801, allocations: 43.81 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.2801, allocations: 4 kB / 0.9527 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.2803, allocations: 99.84 kB / 0.9528 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.2804, allocations: 15.98 kB / 0.9528 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.2805, allocations: 31.8 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.2808, allocations: 135.9 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2808, allocations: 3.938 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2808, allocations: 0 / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.2808, allocations: 4 kB / 0.953 GB, free: 6.039 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.0007222/0.2815, allocations: 424.9 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.2816, allocations: 12.03 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.2816, allocations: 8.844 kB / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.2818, allocations: 164.3 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2818, allocations: 4.375 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2818, allocations: 4.375 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.282, allocations: 81.91 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2821, allocations: 0 / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2821, allocations: 3.984 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2821, allocations: 0 / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.2822, allocations: 31.98 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/0.2829, allocations: 328.7 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2831, allocations: 50.44 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.2832, allocations: 36.97 kB / 0.9541 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2832, allocations: 3.984 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.2834, allocations: 75.38 kB / 0.9542 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.2835, allocations: 8 kB / 0.9542 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004428/0.2839, allocations: 133.5 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.284, allocations: 59.39 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.2841, allocations: 117.8 kB / 0.9545 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2841, allocations: 33.64 kB / 0.9545 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.2842, allocations: 88.12 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.2842, allocations: 23.81 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.2843, allocations: 33.7 kB / 0.9547 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2844, allocations: 322.8 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.2845, allocations: 23.97 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2846, allocations: 46.56 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2848, allocations: 78.48 kB / 0.9551 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2848, allocations: 4 kB / 0.9551 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002578/0.2851, allocations: 113.5 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2851, allocations: 4 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2851, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.2852, allocations: 0 / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2853, allocations: 12 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2853, allocations: 4.375 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.2854, allocations: 15.97 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.2854, allocations: 4 kB / 0.9553 GB, free: 3.484 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 0.000105/0.2855, allocations: 123.7 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.2855, allocations: 4 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.2856, allocations: 12.36 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.2856, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2856, allocations: 0 / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2856, allocations: 4 kB / 0.9554 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.2861, allocations: 390.3 kB / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2861, allocations: 0 / 0.9558 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.2862, allocations: 7.938 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2862, allocations: 0 / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2862, allocations: 7.984 kB / 0.9558 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2862, allocations: 3.938 kB / 0.9558 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2862, allocations: 3.938 kB / 0.9558 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.2865, allocations: 203.5 kB / 0.956 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.2866, allocations: 81.02 kB / 0.9561 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2866, allocations: 7.984 kB / 0.9561 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.2867, allocations: 4 kB / 0.9561 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.2868, allocations: 15.86 kB / 0.9561 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.2868, allocations: 4 kB / 0.9561 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.536e-05/0.2869, allocations: 91.92 kB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2869, allocations: 4 kB / 0.9562 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000357/0.2872, allocations: 36 kB / 0.9562 GB, free: 2.402 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.0004732/0.2877, allocations: 165.7 kB / 0.9564 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.288, allocations: 75.88 kB / 0.9564 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.288, allocations: 4.125 kB / 0.9565 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.2882, allocations: 35.98 kB / 0.9565 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2885, allocations: 9.484 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004926/0.289, allocations: 206.6 kB / 0.9567 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.2893, allocations: 0.6961 MB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.259e-05/0.2894, allocations: 11.44 kB / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.2894, allocations: 0 / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of Templates: time 0.004232/0.2936, allocations: 1.621 MB / 0.959 GB, free: 15.53 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 -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) Reference file matches