Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008168/0.0008167, 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.001005/0.001005, allocations: 175.4 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.49/1.49, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.935/2.935, allocations: 436.7 MB / 0.7113 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 12 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8967/0.897, allocations: 153.7 MB / 1.022 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001963/0.8991, allocations: 1.199 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9004, allocations: 0.6706 MB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.9004, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.9005, allocations: 7.922 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.9005, allocations: 7.938 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005099/0.9011, allocations: 95.77 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.9012, allocations: 59.78 kB / 1.024 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.389e-05/0.9013, allocations: 11.98 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.9014, allocations: 31.91 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.9014, allocations: 27.84 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.9015, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.9017, allocations: 79.92 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.9017, allocations: 15.92 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.9017, allocations: 37.7 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.9019, allocations: 105.7 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9019, allocations: 4 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.675e-06/0.902, allocations: 3.938 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.902, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.7794 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.0006568/0.9026, allocations: 430.5 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.9027, allocations: 11.98 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.9027, allocations: 7.906 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.9029, allocations: 171 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.9029, allocations: 8 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.903, allocations: 7.953 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.9032, allocations: 69.66 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.9032, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.9032, allocations: 3.984 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.9032, allocations: 0 / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.9034, allocations: 51.91 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005558/0.9039, allocations: 296.7 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.9041, allocations: 50.56 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.9042, allocations: 36.95 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.9042, allocations: 7.984 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.9044, allocations: 83.31 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.9044, allocations: 3.938 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004107/0.9049, allocations: 145.6 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.9049, allocations: 55.41 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.905, allocations: 121.8 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.9051, allocations: 29.7 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.9051, allocations: 88.33 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.9052, allocations: 15.81 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.9052, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9053, allocations: 326.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.036e-05/0.9054, allocations: 23.98 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.9055, allocations: 69.06 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.9056, allocations: 28 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9056, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.9059, allocations: 121.4 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9059, allocations: 9.875 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9059, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9059, allocations: 7.984 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.906, allocations: 11.94 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.906, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.791e-05/0.9061, allocations: 23.98 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.9061, allocations: 4 kB / 1.026 GB, free: 12.17 MB / 0.7794 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 0.0001131/0.9063, allocations: 117.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/0.9063, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.9063, allocations: 12.38 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.9063, allocations: 3.938 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9063, allocations: 0 / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.9063, allocations: 3.984 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.9068, allocations: 394.3 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.9068, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.9069, allocations: 4 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9069, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.9069, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.9069, allocations: 7.984 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.9069, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.9072, allocations: 215.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.9073, allocations: 84.95 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.9073, allocations: 3.984 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-05/0.9074, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.9075, allocations: 7.984 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.9075, allocations: 8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.9075, allocations: 95.86 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9075, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003039/0.9078, allocations: 36 kB / 1.027 GB, free: 11.08 MB / 0.7794 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.0004021/0.9083, allocations: 162.5 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.9085, allocations: 71.89 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9085, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.9086, allocations: 52.22 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.9089, allocations: 14 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.9094, allocations: 236.7 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.9097, allocations: 0.6888 MB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.9098, allocations: 19.42 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.9098, allocations: 0 / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of Templates: time 0.003564/0.9133, allocations: 1.562 MB / 1.03 GB, free: 8.234 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTInCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTInCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTInCalcHelperMain.o] Error 1