Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.0009869, allocations: 101.9 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.001265/0.001265, allocations: 181.7 kB / 16.59 MB, free: 6.137 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.478/1.478, allocations: 223.3 MB / 240.6 MB, free: 5.332 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.773/2.773, allocations: 390.5 MB / 0.6662 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8347/0.8351, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001628/0.8368, allocations: 1.217 MB / 0.9556 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.838, allocations: 0.7059 MB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.838, allocations: 0 / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.838, allocations: 0 / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.8381, allocations: 21.84 kB / 0.9563 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004938/0.8386, allocations: 99.05 kB / 0.9564 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.8388, allocations: 89.11 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.8389, allocations: 17.81 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.612e-05/0.839, allocations: 37.7 kB / 0.9565 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.855e-05/0.8391, allocations: 44.97 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.8391, allocations: 3.344 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.8393, allocations: 90.03 kB / 0.9567 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.8393, allocations: 12.48 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.8394, allocations: 43.58 kB / 0.9567 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.8395, allocations: 110.8 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.8395, allocations: 1.375 kB / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8396, allocations: 0 / 0.9568 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.8396, allocations: 0 / 0.9568 GB, free: 6.219 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006273/0.8402, allocations: 485.8 kB / 0.9573 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.8402, allocations: 13.91 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.8403, allocations: 15.67 kB / 0.9573 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.8404, allocations: 181.1 kB / 0.9575 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.8404, allocations: 2.375 kB / 0.9575 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.8405, allocations: 3.75 kB / 0.9575 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.8407, allocations: 81.61 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.8407, allocations: 5.406 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.8407, allocations: 0 / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.8407, allocations: 1.406 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.8409, allocations: 57.52 kB / 0.9576 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.8414, allocations: 344.4 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.8416, allocations: 84.05 kB / 0.958 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.8417, allocations: 41.25 kB / 0.9581 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.8418, allocations: 1.281 kB / 0.9581 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.842, allocations: 107.6 kB / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.842, allocations: 0 / 0.9582 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004584/0.8425, allocations: 180.6 kB / 0.9584 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.8425, allocations: 57.67 kB / 0.9584 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8427, allocations: 130.2 kB / 0.9585 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.8427, allocations: 31.42 kB / 0.9586 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.8427, allocations: 99.17 kB / 0.9587 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.8428, allocations: 28.14 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.8428, allocations: 0 / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.8428, allocations: 325.4 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.8429, allocations: 29.64 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.843, allocations: 78.08 kB / 0.9591 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.8431, allocations: 39.97 kB / 0.9591 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8431, allocations: 0 / 0.9591 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002279/0.8434, allocations: 138.5 kB / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8434, allocations: 9.812 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.8434, allocations: 5.766 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.8434, allocations: 2.469 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.8435, allocations: 20.36 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8435, allocations: 2.906 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.8437, allocations: 21.98 kB / 0.9593 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.8437, allocations: 4.156 kB / 0.9593 GB, free: 3.906 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: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.965e-05/0.8438, allocations: 128 kB / 0.9595 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.8438, allocations: 7.625 kB / 0.9595 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.8441, allocations: 163.8 kB / 0.9596 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.8441, allocations: 5.234 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8441, allocations: 0 / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8441, allocations: 1.312 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005145/0.8447, allocations: 457.7 kB / 0.9601 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8447, allocations: 3.984 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.8448, allocations: 18.52 kB / 0.9601 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8448, allocations: 0 / 0.9601 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.8448, allocations: 6.703 kB / 0.9601 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8448, allocations: 4 kB / 0.9601 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8448, allocations: 0 / 0.9601 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.8451, allocations: 249.3 kB / 0.9603 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.8451, allocations: 84.05 kB / 0.9604 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.8452, allocations: 13.7 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.8453, allocations: 15.42 kB / 0.9604 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.8453, allocations: 13.3 kB / 0.9605 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.8454, allocations: 3.188 kB / 0.9605 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.8454, allocations: 101.5 kB / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8454, allocations: 1.281 kB / 0.9606 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003583/0.8458, allocations: 48.25 kB / 0.9606 GB, free: 2.828 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003515/0.8462, allocations: 163.3 kB / 0.9608 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000245/0.8464, allocations: 97.58 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8464, allocations: 0 / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.8466, allocations: 57.72 kB / 0.9609 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.8469, allocations: 19.05 kB / 0.9609 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.8473, allocations: 275.7 kB / 0.9612 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.8475, allocations: 0.7036 MB / 0.9619 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.8475, allocations: 12.94 kB / 0.9619 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.8475, allocations: 0 / 0.9619 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of Templates: time 0.004279/0.8518, allocations: 1.906 MB / 0.9638 GB, free: 0.7109 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Lighting.Validation.Gunay2016LightCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016LightCalcHelperMain.o] Error 1