Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 297.4 MB / 312.6 MB, free: 2.938 MB / 234.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.0009026/0.0009026, allocations: 186 kB / 382.3 MB, free: 14.85 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.486/1.486, allocations: 225.7 MB / 0.6617 GB, free: 7.258 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008724, allocations: 96.42 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 8.562 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6194/0.6197, allocations: 119.2 MB / 1.022 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001734/0.6215, allocations: 1.189 MB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.6227, allocations: 0.9961 MB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.6228, allocations: 0 / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.6228, allocations: 5.781 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.6229, allocations: 11.36 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.6234, allocations: 107.7 kB / 1.025 GB, free: 56.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.6235, allocations: 70.88 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.6236, allocations: 11.64 kB / 1.025 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.6237, allocations: 33.11 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.082e-05/0.6237, allocations: 35.53 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.6238, allocations: 3.625 kB / 1.025 GB, free: 56.35 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.6239, allocations: 85.75 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.624, allocations: 16.03 kB / 1.025 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.726e-05/0.6241, allocations: 56.45 kB / 1.025 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.6243, allocations: 132.9 kB / 1.025 GB, free: 56.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6243, allocations: 5.5 kB / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6243, allocations: 0 / 1.025 GB, free: 56.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.6243, allocations: 0 / 1.025 GB, free: 56.24 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.000555/0.6249, allocations: 412.4 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6249, allocations: 9.938 kB / 1.025 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.625, allocations: 8.594 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.904e-05/0.6251, allocations: 176.8 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.6251, allocations: 4.484 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6251, allocations: 7.906 kB / 1.026 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.6253, allocations: 80.38 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6253, allocations: 2.719 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6254, allocations: 1.578 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.6254, allocations: 1.156 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.6255, allocations: 41.39 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.6261, allocations: 322.2 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.6262, allocations: 55.06 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.6263, allocations: 35.14 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.6263, allocations: 3.266 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.6265, allocations: 80.61 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.6265, allocations: 2.219 kB / 1.026 GB, free: 55.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.6269, allocations: 149.3 kB / 1.026 GB, free: 55.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.627, allocations: 59.23 kB / 1.026 GB, free: 55.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.098e-05/0.6271, allocations: 119.3 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.6271, allocations: 29.44 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.6271, allocations: 97.2 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.6272, allocations: 11.31 kB / 1.027 GB, free: 54.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.6272, allocations: 4 kB / 1.027 GB, free: 54.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.49e-05/0.6272, allocations: 324.8 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.954e-05/0.6273, allocations: 28.02 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.6274, allocations: 50.34 kB / 1.027 GB, free: 54.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.6276, allocations: 88.02 kB / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6276, allocations: 0 / 1.027 GB, free: 54.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002145/0.6278, allocations: 117 kB / 1.027 GB, free: 54.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6278, allocations: 9.266 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6278, allocations: 0 / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.6278, allocations: 7 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.66e-05/0.6279, allocations: 11.91 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.628, allocations: 2.719 kB / 1.027 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.628, allocations: 14.81 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.6281, allocations: 8.266 kB / 1.027 GB, free: 54.31 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.129e-05/0.6281, allocations: 125.4 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.6281, allocations: 5.25 kB / 1.027 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.6282, allocations: 18.23 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6282, allocations: 3.109 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6282, allocations: 0 / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6282, allocations: 0.6094 kB / 1.027 GB, free: 54.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004164/0.6286, allocations: 381 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6286, allocations: 1.484 kB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.6287, allocations: 13.3 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6287, allocations: 1.891 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.6287, allocations: 1.266 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6287, allocations: 1.344 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6287, allocations: 6.5 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.629, allocations: 225.6 kB / 1.028 GB, free: 53.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.629, allocations: 78.92 kB / 1.028 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.629, allocations: 2 kB / 1.028 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.6291, allocations: 4.172 kB / 1.028 GB, free: 53.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.6292, allocations: 16.48 kB / 1.028 GB, free: 53.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.6292, allocations: 1.844 kB / 1.028 GB, free: 53.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.6293, allocations: 93.16 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/0.6293, allocations: 0 / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002914/0.6296, allocations: 39.52 kB / 1.028 GB, free: 53.47 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.0003364/0.6299, allocations: 177.4 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002388/0.6301, allocations: 77.09 kB / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6302, allocations: 0 / 1.028 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.6303, allocations: 41.75 kB / 1.028 GB, free: 53.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.6305, allocations: 10.14 kB / 1.028 GB, free: 53.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.6309, allocations: 213.3 kB / 1.029 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.631, allocations: 0.6868 MB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.631, allocations: 3.875 kB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.6311, allocations: 15.81 kB / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6311, allocations: 0 / 1.029 GB, free: 52.46 MB / 0.698 GB Notification: Performance of Templates: time 0.003975/0.6351, allocations: 1.37 MB / 1.031 GB, free: 52.32 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)