Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009192, allocations: 100.5 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.551/1.551, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.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.75/2.75, allocations: 390.5 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003812, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.941/0.9414, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001764/0.9432, allocations: 1.177 MB / 0.9556 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.9444, allocations: 0.6812 MB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.9445, allocations: 1.406 kB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.9445, allocations: 4 kB / 0.9562 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.128e-05/0.9446, allocations: 17.58 kB / 0.9562 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.9451, allocations: 99.7 kB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.9452, allocations: 66.06 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.9453, allocations: 9.234 kB / 0.9564 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.784e-05/0.9454, allocations: 30.09 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.046e-05/0.9455, allocations: 35.03 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.9455, allocations: 3.344 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.9457, allocations: 85.47 kB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.9458, allocations: 18.03 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.9458, allocations: 34.23 kB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.946, allocations: 92.83 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.946, allocations: 4 kB / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9461, allocations: 0 / 0.9567 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.9461, allocations: 0 / 0.9567 GB, free: 6.371 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.0005061/0.9466, allocations: 417.8 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.9466, allocations: 9.719 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.9467, allocations: 10.86 kB / 0.9571 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.9468, allocations: 175.2 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.9468, allocations: 2.156 kB / 0.9573 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.9468, allocations: 7.625 kB / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.947, allocations: 67.53 kB / 0.9574 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.947, allocations: 4 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.947, allocations: 0 / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9471, allocations: 1.438 kB / 0.9574 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.9472, allocations: 45.61 kB / 0.9574 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.9477, allocations: 321.9 kB / 0.9577 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.9479, allocations: 50.75 kB / 0.9578 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.369e-05/0.948, allocations: 39.17 kB / 0.9578 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.948, allocations: 5.438 kB / 0.9578 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/0.9482, allocations: 87.08 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.9482, allocations: 0 / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004056/0.9486, allocations: 152 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.9487, allocations: 53.91 kB / 0.9581 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/0.9487, allocations: 125 kB / 0.9582 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.9488, allocations: 25.7 kB / 0.9582 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.9488, allocations: 90.86 kB / 0.9583 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.9488, allocations: 11.66 kB / 0.9583 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.9488, allocations: 4 kB / 0.9583 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.9489, allocations: 321.3 kB / 0.9586 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.949, allocations: 28.3 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.469e-05/0.9491, allocations: 55.48 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.9492, allocations: 31.25 kB / 0.9587 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9492, allocations: 7.938 kB / 0.9588 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002211/0.9494, allocations: 118.7 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9494, allocations: 5.562 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.9494, allocations: 3.953 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9495, allocations: 5.656 kB / 0.9589 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.229e-05/0.9496, allocations: 13.36 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9496, allocations: 5.281 kB / 0.9589 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.9496, allocations: 17.77 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.9497, allocations: 2.969 kB / 0.9589 GB, free: 4.281 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,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.9497, allocations: 115 kB / 0.959 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.9498, allocations: 7.625 kB / 0.959 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.9498, allocations: 8.375 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.9498, allocations: 5.797 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9498, allocations: 7.984 kB / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9498, allocations: 0 / 0.9591 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.9503, allocations: 388 kB / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.9503, allocations: 1.344 kB / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.9503, allocations: 7.812 kB / 0.9594 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.9503, allocations: 5.109 kB / 0.9594 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.9503, allocations: 5.344 kB / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9503, allocations: 0 / 0.9594 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9504, allocations: 4.453 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.9506, allocations: 214.5 kB / 0.9597 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.9507, allocations: 83.83 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.9507, allocations: 8.984 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.9508, allocations: 12.52 kB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.9508, allocations: 2.594 kB / 0.9598 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.9508, allocations: 6.016 kB / 0.9598 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.9509, allocations: 92.19 kB / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9509, allocations: 0 / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003379/0.9512, allocations: 44.77 kB / 0.9599 GB, free: 3.363 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.9516, allocations: 165.6 kB / 0.96 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.9518, allocations: 74.11 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9518, allocations: 1.125 kB / 0.9601 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.9519, allocations: 42.73 kB / 0.9602 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.9522, allocations: 7.281 kB / 0.9602 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.9526, allocations: 237.2 kB / 0.9604 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.9528, allocations: 0.6922 MB / 0.9611 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.9528, allocations: 10.97 kB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.9528, allocations: 0 / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.003752/0.9566, allocations: 1.611 MB / 0.9627 GB, free: 1.441 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile make -j1 -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistanCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistanCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistanCalcHelperMain.o] Error 1