Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, 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.001645/0.001645, 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.576/1.576, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 436.7 MB / 0.7113 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 8 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8721, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002099/0.8742, allocations: 1.5 MB / 1.023 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.8757, allocations: 0.8896 MB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.8758, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001869/0.876, allocations: 27.73 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002963/0.8763, allocations: 103.5 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.8767, allocations: 142.7 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.8769, allocations: 195.4 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.877, allocations: 37.66 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.8771, allocations: 95.67 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.882, allocations: 3.092 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.882, allocations: 8 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.226e-05/0.8821, allocations: 31.97 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.8822, allocations: 31.84 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.8823, allocations: 53.62 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.8825, allocations: 147.7 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8825, allocations: 3.938 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8825, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.8825, allocations: 0 / 1.028 GB, free: 10.73 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000818/0.8833, allocations: 0.5214 MB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.8834, allocations: 15.98 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.8835, allocations: 15.81 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.8838, allocations: 238.7 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.8838, allocations: 12 kB / 1.029 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.8839, allocations: 16 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.8841, allocations: 113.2 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.8841, allocations: 0 / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.8841, allocations: 12 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8841, allocations: 0 / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.8842, allocations: 59.92 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/0.8851, allocations: 0.5512 MB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.8853, allocations: 97.25 kB / 1.03 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.8853, allocations: 41.78 kB / 1.03 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.8854, allocations: 7.984 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.8856, allocations: 121.1 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 3.517e-06/0.8856, allocations: 0 / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003249/0.8859, allocations: 161.4 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.886, allocations: 85.05 kB / 1.03 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.8862, allocations: 198.7 kB / 1.03 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.8862, allocations: 33.7 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/0.8863, allocations: 120.4 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.8864, allocations: 39.53 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.8864, allocations: 4 kB / 1.03 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8865, allocations: 330.8 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.8866, allocations: 32.48 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.8868, allocations: 130.2 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.344e-05/0.8869, allocations: 47.92 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.8869, allocations: 3.953 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000222/0.8871, allocations: 157.3 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8871, allocations: 4 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8872, allocations: 0 / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8872, allocations: 8 kB / 1.031 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.8873, allocations: 20.08 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8873, allocations: 8 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.8875, allocations: 27.89 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.8875, allocations: 12 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001234/0.8876, allocations: 139.5 kB / 1.031 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.807e-05/0.8877, allocations: 23.75 kB / 1.031 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.8877, allocations: 25.52 kB / 1.031 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.8878, allocations: 8 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8878, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.8878, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005549/0.8883, allocations: 468.4 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.8883, allocations: 8 kB / 1.032 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.8884, allocations: 0 / 1.032 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.8884, allocations: 4 kB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.8884, allocations: 0 / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8884, allocations: 7.938 kB / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8884, allocations: 0 / 1.032 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.8886, allocations: 232 kB / 1.032 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.8887, allocations: 100.9 kB / 1.032 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.8887, allocations: 4 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.8889, allocations: 15.98 kB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.889, allocations: 19.97 kB / 1.032 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.382e-05/0.889, allocations: 8 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001186/0.8891, allocations: 144.9 kB / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8891, allocations: 0 / 1.032 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003174/0.8894, allocations: 59.89 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0003537/0.8898, allocations: 175.8 kB / 1.032 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.89, allocations: 95.89 kB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.89, allocations: 4 kB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.968e-05/0.8901, allocations: 51.92 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.8905, allocations: 60.14 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.8912, allocations: 361.3 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.8915, allocations: 0.7286 MB / 1.034 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.8916, allocations: 23.42 kB / 1.034 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.8916, allocations: 7.938 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of Templates: time 0.005437/0.897, allocations: 3.173 MB / 1.037 GB, free: 1.191 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.o OMCppBuildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputCalcHelperMain.o] Error 1