Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 103 kB / 15.71 MB, free: 460 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.001415/0.001415, allocations: 178.1 kB / 16.58 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.8 MB, free: 5.855 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.828/1.828, allocations: 292.7 MB / 0.5505 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005317/0.0005323, allocations: 12.34 kB / 0.6744 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2657, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001743/0.2675, allocations: 1.289 MB / 0.7892 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2688, allocations: 0.761 MB / 0.7899 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.2688, allocations: 0 / 0.7899 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.2688, allocations: 11.92 kB / 0.7899 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.2689, allocations: 19.8 kB / 0.79 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2694, allocations: 111.7 kB / 0.7901 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.2696, allocations: 115.7 kB / 0.7902 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.2697, allocations: 8 kB / 0.7902 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.2698, allocations: 63.75 kB / 0.7902 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.2699, allocations: 67.72 kB / 0.7903 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.2699, allocations: 8 kB / 0.7903 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.2701, allocations: 87.91 kB / 0.7904 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.2702, allocations: 23.91 kB / 0.7904 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.2702, allocations: 41.64 kB / 0.7905 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2704, allocations: 132 kB / 0.7906 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2704, allocations: 4 kB / 0.7906 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2704, allocations: 0 / 0.7906 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2704, allocations: 0 / 0.7906 GB, free: 9.164 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006875/0.2711, allocations: 462.4 kB / 0.791 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2712, allocations: 12.03 kB / 0.791 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.2712, allocations: 15.8 kB / 0.7911 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2714, allocations: 185.9 kB / 0.7912 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2714, allocations: 7.984 kB / 0.7912 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.2714, allocations: 8 kB / 0.7912 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.2717, allocations: 105.5 kB / 0.7913 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2717, allocations: 0 / 0.7913 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.2717, allocations: 4 kB / 0.7914 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2717, allocations: 4 kB / 0.7914 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.2719, allocations: 67.95 kB / 0.7914 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007851/0.2727, allocations: 376.6 kB / 0.7918 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.2729, allocations: 78.48 kB / 0.7919 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.273, allocations: 60.83 kB / 0.7919 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.2731, allocations: 0 / 0.7919 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.2733, allocations: 111.3 kB / 0.792 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2733, allocations: 0 / 0.792 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.000537/0.2739, allocations: 229.4 kB / 0.7922 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.2739, allocations: 59.36 kB / 0.7923 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.274, allocations: 142.2 kB / 0.7924 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2741, allocations: 33.7 kB / 0.7925 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.2741, allocations: 96.36 kB / 0.7926 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.2742, allocations: 27.8 kB / 0.7926 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.2742, allocations: 4 kB / 0.7926 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2743, allocations: 326.8 kB / 0.7929 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.2744, allocations: 39.97 kB / 0.7929 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.2746, allocations: 84.27 kB / 0.793 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2747, allocations: 47.97 kB / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2747, allocations: 0 / 0.7931 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003131/0.275, allocations: 169.5 kB / 0.7932 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.2751, allocations: 4.109 kB / 0.7932 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2751, allocations: 7.938 kB / 0.7932 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2751, allocations: 4 kB / 0.7932 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2752, allocations: 19.98 kB / 0.7933 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2752, allocations: 15.97 kB / 0.7933 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.76e-05/0.2754, allocations: 11.91 kB / 0.7933 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2754, allocations: 4 kB / 0.7933 GB, free: 6.152 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001005/0.2755, allocations: 130.4 kB / 0.7934 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.2755, allocations: 7.906 kB / 0.7934 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.2755, allocations: 12.72 kB / 0.7934 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2756, allocations: 4 kB / 0.7934 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2756, allocations: 0 / 0.7934 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2756, allocations: 3.953 kB / 0.7934 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006165/0.2762, allocations: 466.7 kB / 0.7939 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2762, allocations: 0 / 0.7939 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.049e-05/0.2763, allocations: 19.92 kB / 0.7939 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2763, allocations: 0 / 0.7939 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2763, allocations: 3.984 kB / 0.7939 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2763, allocations: 7.953 kB / 0.7939 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2763, allocations: 0 / 0.7939 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.2767, allocations: 275.3 kB / 0.7942 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.2768, allocations: 88.95 kB / 0.7943 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.2768, allocations: 8 kB / 0.7943 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2769, allocations: 7.984 kB / 0.7943 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.277, allocations: 11.94 kB / 0.7943 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.277, allocations: 4 kB / 0.7943 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.2771, allocations: 115.2 kB / 0.7944 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2771, allocations: 0 / 0.7944 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003124/0.2774, allocations: 44 kB / 0.7944 GB, free: 4.867 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003485/0.2778, allocations: 166.8 kB / 0.7946 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.2781, allocations: 127.8 kB / 0.7947 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2781, allocations: 8 kB / 0.7947 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2782, allocations: 56.16 kB / 0.7948 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.2785, allocations: 19.17 kB / 0.7948 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.279, allocations: 279 kB / 0.7951 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.2793, allocations: 0.7043 MB / 0.7958 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2793, allocations: 11.44 kB / 0.7958 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2793, allocations: 0 / 0.7958 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of Templates: time 0.00385/0.2832, allocations: 2.042 MB / 0.7978 GB, free: 1.426 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInToutCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInToutCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInToutCalcHelperMain.o] Error 1