Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 99.2 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.001859/0.001859, allocations: 177.2 kB / 16.58 MB, free: 6.422 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.548/1.548, allocations: 223.2 MB / 240.6 MB, free: 5.441 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.657/2.657, allocations: 390.5 MB / 0.6662 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.967/0.9674, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001473/0.9689, allocations: 1.191 MB / 0.9556 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.9699, allocations: 0.6771 MB / 0.9562 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.97, allocations: 1.375 kB / 0.9562 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.97, allocations: 0 / 0.9562 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.596e-05/0.9701, allocations: 17.31 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.9705, allocations: 95.08 kB / 0.9563 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.9706, allocations: 61.62 kB / 0.9564 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.9707, allocations: 13.62 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.9708, allocations: 24.05 kB / 0.9564 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.864e-05/0.9709, allocations: 29.98 kB / 0.9565 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.9709, allocations: 6.812 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.9711, allocations: 84.53 kB / 0.9566 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.9711, allocations: 14.52 kB / 0.9566 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.9711, allocations: 32.11 kB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.9713, allocations: 91.69 kB / 0.9567 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.9713, allocations: 4 kB / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9713, allocations: 0 / 0.9567 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.9713, allocations: 0 / 0.9567 GB, free: 6.352 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.0004621/0.9718, allocations: 439.5 kB / 0.9571 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.9718, allocations: 8.656 kB / 0.9571 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.9719, allocations: 20.02 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.647e-05/0.972, allocations: 174.4 kB / 0.9573 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.972, allocations: 10.25 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.972, allocations: 4.344 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.9722, allocations: 66.28 kB / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.9722, allocations: 0 / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.9722, allocations: 0.9375 kB / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9722, allocations: 1.438 kB / 0.9574 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.9724, allocations: 53.83 kB / 0.9574 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.9728, allocations: 297.2 kB / 0.9577 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.9729, allocations: 47.5 kB / 0.9578 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.924e-05/0.973, allocations: 37.59 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.973, allocations: 5.156 kB / 0.9578 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000182/0.9732, allocations: 88.44 kB / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.9732, allocations: 0 / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000368/0.9736, allocations: 150.5 kB / 0.958 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.9737, allocations: 53.53 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.9737, allocations: 121 kB / 0.9582 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.9737, allocations: 30.73 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.9738, allocations: 91.06 kB / 0.9583 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.9738, allocations: 13.94 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.9738, allocations: 5 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.9739, allocations: 320.9 kB / 0.9586 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.974, allocations: 23.89 kB / 0.9587 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.974, allocations: 63.05 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.195e-05/0.9741, allocations: 39.33 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9741, allocations: 0 / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000203/0.9743, allocations: 122.1 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9744, allocations: 4.688 kB / 0.9589 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.9744, allocations: 10.42 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.9744, allocations: 1.938 kB / 0.9589 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.9745, allocations: 15.64 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.9745, allocations: 1.781 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.9746, allocations: 9.438 kB / 0.9589 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.9746, allocations: 11.59 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.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 6.716e-05/0.9747, allocations: 124.6 kB / 0.959 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.9747, allocations: 7.906 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.9747, allocations: 10.66 kB / 0.9591 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.9747, allocations: 3.953 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9747, allocations: 0 / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9747, allocations: 0 / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.9751, allocations: 388 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.9751, allocations: 3.938 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.9752, allocations: 8.672 kB / 0.9594 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9752, allocations: 3.953 kB / 0.9594 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.9752, allocations: 0.9375 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9752, allocations: 1.281 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9752, allocations: 0 / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.9754, allocations: 222 kB / 0.9597 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.9755, allocations: 87.2 kB / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.9755, allocations: 3.953 kB / 0.9598 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.9756, allocations: 8.359 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.9756, allocations: 11.44 kB / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.9756, allocations: 2.188 kB / 0.9598 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.9757, allocations: 91.64 kB / 0.9599 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9757, allocations: 0 / 0.9599 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003009/0.976, allocations: 45.02 kB / 0.9599 GB, free: 3.293 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0003285/0.9763, allocations: 162.6 kB / 0.9601 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.9766, allocations: 70.31 kB / 0.9601 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9766, allocations: 0 / 0.9601 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.055e-05/0.9767, allocations: 38.03 kB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.9769, allocations: 16.75 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/0.9773, allocations: 237.2 kB / 0.9604 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.9774, allocations: 0.6892 MB / 0.9611 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.9775, allocations: 14.69 kB / 0.9611 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.9775, allocations: 1.281 kB / 0.9611 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.003268/0.9807, allocations: 1.561 MB / 0.9626 GB, free: 1.402 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Blinds.Validation.Haldi2008BlindsTInCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTInCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTInCalcHelperMain.o] Error 1