Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 102.6 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.001524/0.001524, allocations: 171.8 kB / 16.58 MB, free: 6.398 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.44/1.44, allocations: 223.3 MB / 240.6 MB, free: 5.402 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.615/2.615, allocations: 390.5 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.948/0.9483, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001632/0.95, allocations: 1.216 MB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.9512, allocations: 0.703 MB / 0.9563 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.9513, allocations: 3.938 kB / 0.9563 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.9513, allocations: 3.938 kB / 0.9563 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.9514, allocations: 10.78 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005248/0.9519, allocations: 110.2 kB / 0.9564 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.9521, allocations: 93.72 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.9522, allocations: 4.75 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.868e-05/0.9522, allocations: 38.75 kB / 0.9565 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.9523, allocations: 51.67 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.9524, allocations: 8.281 kB / 0.9566 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.9526, allocations: 78.8 kB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.9526, allocations: 27.52 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.9527, allocations: 35.92 kB / 0.9567 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.9528, allocations: 108.3 kB / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.9529, allocations: 0 / 0.9568 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9529, allocations: 3.938 kB / 0.9568 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9529, allocations: 0 / 0.9568 GB, free: 6.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005657/0.9534, allocations: 456.1 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.9535, allocations: 10.22 kB / 0.9573 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.9535, allocations: 12.2 kB / 0.9573 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.669e-05/0.9536, allocations: 173.9 kB / 0.9575 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.996e-05/0.9537, allocations: 7.5 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.9537, allocations: 8.641 kB / 0.9575 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.9539, allocations: 88.33 kB / 0.9576 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.954, allocations: 0 / 0.9576 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.954, allocations: 13.12 kB / 0.9576 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.954, allocations: 5.266 kB / 0.9576 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.9542, allocations: 49.77 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.9548, allocations: 340.5 kB / 0.9579 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.955, allocations: 60.88 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.9551, allocations: 46.39 kB / 0.9581 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.9552, allocations: 5.438 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.9554, allocations: 97.59 kB / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.9554, allocations: 0 / 0.9582 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.9559, allocations: 205.3 kB / 0.9583 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/0.956, allocations: 54 kB / 0.9584 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.956, allocations: 129.7 kB / 0.9585 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.9561, allocations: 31.2 kB / 0.9586 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.9561, allocations: 87.17 kB / 0.9586 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.9561, allocations: 18.34 kB / 0.9587 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.9561, allocations: 5.219 kB / 0.9587 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.9562, allocations: 325.1 kB / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.9563, allocations: 26.02 kB / 0.959 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.212e-05/0.9564, allocations: 67.8 kB / 0.9591 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.919e-05/0.9565, allocations: 41.52 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9565, allocations: 1.812 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002396/0.9567, allocations: 136.4 kB / 0.9592 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.9568, allocations: 9.531 kB / 0.9592 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.9568, allocations: 5.328 kB / 0.9592 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.9568, allocations: 6.609 kB / 0.9592 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.9569, allocations: 18.36 kB / 0.9593 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.9569, allocations: 2.5 kB / 0.9593 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.957, allocations: 9.75 kB / 0.9593 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.957, allocations: 8.469 kB / 0.9593 GB, free: 3.98 MB / 0.7169 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,occ.y,$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 (13): * Single equations (assignments): 13 * 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.355e-05/0.9571, allocations: 120.6 kB / 0.9594 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.9571, allocations: 11.61 kB / 0.9594 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.9572, allocations: 14.34 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.9572, allocations: 4.891 kB / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9572, allocations: 0 / 0.9594 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9572, allocations: 4.781 kB / 0.9594 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004867/0.9577, allocations: 434.3 kB / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9577, allocations: 0 / 0.9598 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/0.9578, allocations: 9.109 kB / 0.9599 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.9578, allocations: 3.953 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9578, allocations: 2.156 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9578, allocations: 0 / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9578, allocations: 1.25 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.9582, allocations: 254.1 kB / 0.9601 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.9582, allocations: 87.72 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.9582, allocations: 13.2 kB / 0.9602 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.9583, allocations: 5.656 kB / 0.9602 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.9584, allocations: 6.609 kB / 0.9602 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.9584, allocations: 6.688 kB / 0.9602 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.9585, allocations: 93.2 kB / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9585, allocations: 0 / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003408/0.9588, allocations: 43.27 kB / 0.9604 GB, free: 3.012 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,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 (8): * Single equations (assignments): 4 * 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.000355/0.9592, allocations: 154.5 kB / 0.9605 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.9595, allocations: 99.11 kB / 0.9606 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.9595, allocations: 0 / 0.9606 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.9596, allocations: 52.16 kB / 0.9606 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.9599, allocations: 19.28 kB / 0.9607 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004352/0.9604, allocations: 244.1 kB / 0.9609 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.9605, allocations: 0.6904 MB / 0.9616 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.9606, allocations: 14.19 kB / 0.9616 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.9606, allocations: 0 / 0.9616 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of Templates: time 0.003824/0.9644, allocations: 1.788 MB / 0.9633 GB, free: 0.9844 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Office.Windows.Validation.Yun2008WindowsTOutCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOutCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOutCalcHelperMain.o] Error 1