Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, 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.0017/0.0017, allocations: 176.6 kB / 16.58 MB, free: 6.402 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.708/1.708, allocations: 223.3 MB / 240.6 MB, free: 5.406 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.752/2.752, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.062, allocations: 142.3 MB / 0.9544 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00105/1.063, allocations: 0.5007 MB / 0.9549 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001373/1.064, allocations: 1.136 MB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/1.064, allocations: 1.188 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/1.064, allocations: 3.938 kB / 0.956 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/1.064, allocations: 9.234 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/1.065, allocations: 122 kB / 0.9561 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/1.065, allocations: 121.4 kB / 0.9563 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/1.065, allocations: 23.52 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/1.065, allocations: 45.47 kB / 0.9563 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/1.065, allocations: 48.72 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/1.065, allocations: 6.188 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/1.065, allocations: 15.36 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/1.066, allocations: 14.7 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/1.066, allocations: 41.95 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/1.066, allocations: 102.8 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.066, allocations: 0 / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/1.066, allocations: 4 kB / 0.9566 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.038e-06/1.066, allocations: 1.281 kB / 0.9566 GB, free: 6.445 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005021/1.066, allocations: 419.9 kB / 0.957 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.066, allocations: 9.5 kB / 0.957 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/1.066, allocations: 18.47 kB / 0.957 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/1.066, allocations: 162.8 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/1.066, allocations: 13.06 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/1.066, allocations: 6.906 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/1.067, allocations: 89.86 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/1.067, allocations: 3.938 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.067, allocations: 0 / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.067, allocations: 1.844 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/1.067, allocations: 75.16 kB / 0.9573 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/1.068, allocations: 399.7 kB / 0.9577 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/1.068, allocations: 63.14 kB / 0.9578 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.068, allocations: 35.8 kB / 0.9578 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/1.068, allocations: 4 kB / 0.9578 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002262/1.068, allocations: 87.36 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/1.068, allocations: 0 / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000432/1.069, allocations: 147.5 kB / 0.958 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/1.069, allocations: 52.56 kB / 0.9581 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.892e-05/1.069, allocations: 128.7 kB / 0.9582 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/1.069, allocations: 28.83 kB / 0.9582 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/1.069, allocations: 102.2 kB / 0.9583 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/1.069, allocations: 18.36 kB / 0.9583 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/1.069, allocations: 5.031 kB / 0.9583 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.7e-05/1.069, allocations: 313.1 kB / 0.9586 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/1.069, allocations: 61.58 kB / 0.9587 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/1.069, allocations: 88.64 kB / 0.9588 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/1.069, allocations: 72.12 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.069, allocations: 3.953 kB / 0.9589 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004219/1.07, allocations: 210.1 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/1.07, allocations: 40.34 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.07, allocations: 1.531 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/1.07, allocations: 1.656 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/1.07, allocations: 8.656 kB / 0.9591 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.07, allocations: 4 kB / 0.9591 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/1.07, allocations: 53.28 kB / 0.9592 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/1.07, allocations: 13.97 kB / 0.9592 GB, free: 4.105 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.801e-05/1.07, allocations: 121.1 kB / 0.9593 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/1.07, allocations: 10.83 kB / 0.9593 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/1.07, allocations: 13.98 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.07, allocations: 0 / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.07, allocations: 1.594 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/1.07, allocations: 320 / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/1.071, allocations: 188.6 kB / 0.9595 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.071, allocations: 5.438 kB / 0.9595 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/1.071, allocations: 15.73 kB / 0.9595 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.071, allocations: 0 / 0.9595 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.071, allocations: 5.516 kB / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.071, allocations: 0 / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.071, allocations: 1.438 kB / 0.9595 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/1.071, allocations: 135.2 kB / 0.9597 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/1.071, allocations: 86.19 kB / 0.9597 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/1.071, allocations: 5.578 kB / 0.9597 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.68e-05/1.071, allocations: 17.73 kB / 0.9598 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/1.071, allocations: 17.33 kB / 0.9598 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/1.071, allocations: 5.5 kB / 0.9598 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.3e-05/1.071, allocations: 92.45 kB / 0.9599 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.071, allocations: 0 / 0.9599 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002196/1.071, allocations: 33.69 kB / 0.9599 GB, free: 3.406 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001401/1.072, allocations: 106.7 kB / 0.96 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003744/1.072, allocations: 180 kB / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.072, allocations: 0 / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/1.072, allocations: 42.09 kB / 0.9602 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/1.072, allocations: 14.86 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/1.073, allocations: 221.6 kB / 0.9604 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/1.073, allocations: 0.6943 MB / 0.9611 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/1.073, allocations: 14.19 kB / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/1.073, allocations: 0 / 0.9611 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.003297/1.076, allocations: 1.34 MB / 0.9624 GB, free: 1.574 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOffCalcHelperMain.o OMCppBuildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOffCalcHelperMain.o] Error 1