Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.823/1.823, allocations: 306.1 MB / 321.4 MB, free: 10.69 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 171.5 kB / 393.1 MB, free: 4.062 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008303/0.0008302, allocations: 96.73 kB / 0.7935 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6816/0.6819, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001825/0.6838, allocations: 1.19 MB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.6852, allocations: 0.9883 MB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.6852, allocations: 2.094 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.6852, allocations: 7.172 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.427e-05/0.6853, allocations: 7.922 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.6858, allocations: 107.6 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.938e-05/0.6859, allocations: 69.42 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.686, allocations: 17.66 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.6861, allocations: 30.28 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.6862, allocations: 33.72 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.6862, allocations: 7.156 kB / 1.043 GB, free: 56.74 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.6864, allocations: 81.09 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.6864, allocations: 22.58 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.6865, allocations: 54.12 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.6867, allocations: 134.1 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6867, allocations: 1.875 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6867, allocations: 0 / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.6868, allocations: 1.656 kB / 1.044 GB, free: 56.62 MB / 0.698 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.0005862/0.6874, allocations: 407.6 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6874, allocations: 8.969 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.6875, allocations: 15.47 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.6876, allocations: 169.8 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.6876, allocations: 9.906 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.6876, allocations: 3.125 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.6878, allocations: 77.81 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.6878, allocations: 0.7969 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.6879, allocations: 7.938 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6879, allocations: 4.219 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.688, allocations: 43.28 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005374/0.6886, allocations: 315.2 kB / 1.045 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.6887, allocations: 59.03 kB / 1.045 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.6888, allocations: 36.44 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6888, allocations: 6.469 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.689, allocations: 75.91 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.689, allocations: 0.875 kB / 1.045 GB, free: 55.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003845/0.6894, allocations: 153.2 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.6894, allocations: 59.69 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.6895, allocations: 116.3 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.6895, allocations: 31.33 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.6896, allocations: 93.75 kB / 1.045 GB, free: 55.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.6896, allocations: 16.91 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.6896, allocations: 1.969 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/0.6897, allocations: 322.1 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.6898, allocations: 29.64 kB / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.858e-05/0.6898, allocations: 53.19 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.69, allocations: 84.62 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.69, allocations: 1.562 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002088/0.6902, allocations: 122.7 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6902, allocations: 7.844 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6902, allocations: 3.094 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.6903, allocations: 0 / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.6904, allocations: 13.59 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.6904, allocations: 6.219 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.6904, allocations: 13.72 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.6905, allocations: 2.812 kB / 1.046 GB, free: 54.67 MB / 0.698 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 7.015e-05/0.6905, allocations: 129.3 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.6906, allocations: 6.25 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.6906, allocations: 14.05 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.6906, allocations: 0 / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6906, allocations: 4 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6906, allocations: 0 / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.691, allocations: 380.6 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.691, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.078e-05/0.6911, allocations: 11.84 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6911, allocations: 5.062 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.6911, allocations: 5.375 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6911, allocations: 0 / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6911, allocations: 3.938 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.6913, allocations: 218.8 kB / 1.047 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.6914, allocations: 84.39 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.6914, allocations: 8.609 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.43e-05/0.6915, allocations: 6.812 kB / 1.047 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.6915, allocations: 10.08 kB / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.6916, allocations: 0 / 1.047 GB, free: 53.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.949e-05/0.6916, allocations: 93.16 kB / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6916, allocations: 0 / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000265/0.6919, allocations: 44.06 kB / 1.047 GB, free: 53.82 MB / 0.698 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.0003218/0.6922, allocations: 180.9 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.6924, allocations: 70.03 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6924, allocations: 0 / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.319e-05/0.6925, allocations: 43.62 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.6928, allocations: 7.734 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000365/0.6932, allocations: 211.9 kB / 1.047 GB, free: 53.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.6933, allocations: 0.6923 MB / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.6933, allocations: 3.844 kB / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.6934, allocations: 11.22 kB / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6934, allocations: 0 / 1.048 GB, free: 52.81 MB / 0.698 GB Notification: Performance of Templates: time 0.003715/0.6971, allocations: 1.364 MB / 1.049 GB, free: 52.67 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)