Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009863, allocations: 102.4 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.00132/0.00132, allocations: 174.5 kB / 16.58 MB, free: 6.398 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.434/1.434, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.63/2.63, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.000333, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8897, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0009456/0.8907, allocations: 455.6 kB / 0.9549 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.8922, allocations: 1.235 MB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.8923, allocations: 1.281 kB / 0.9561 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.214e-05/0.8923, allocations: 11.86 kB / 0.9561 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.8924, allocations: 9.828 kB / 0.9561 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007182/0.8931, allocations: 225.6 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.8934, allocations: 206.3 kB / 0.9565 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.8935, allocations: 19.56 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.8936, allocations: 84.48 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.8938, allocations: 77.58 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.081e-05/0.8938, allocations: 13.22 kB / 0.9567 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.142e-05/0.8939, allocations: 26.16 kB / 0.9567 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.408e-05/0.894, allocations: 28 kB / 0.9567 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.8941, allocations: 52.89 kB / 0.9568 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.8942, allocations: 153.6 kB / 0.9569 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.8943, allocations: 4 kB / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.745e-06/0.8943, allocations: 0 / 0.9569 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.8943, allocations: 0 / 0.9569 GB, free: 6.238 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006187/0.8949, allocations: 465.2 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.895, allocations: 8.125 kB / 0.9574 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.895, allocations: 25.05 kB / 0.9574 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.8956, allocations: 258.5 kB / 0.9577 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.8956, allocations: 11.53 kB / 0.9577 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.004e-05/0.8957, allocations: 24.61 kB / 0.9577 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.8959, allocations: 145.7 kB / 0.9578 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.8959, allocations: 0 / 0.9578 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.896, allocations: 2.281 kB / 0.9578 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.896, allocations: 5.266 kB / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.8961, allocations: 63.03 kB / 0.9579 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008004/0.8969, allocations: 0.5217 MB / 0.9584 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.8972, allocations: 157.6 kB / 0.9586 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.8974, allocations: 66.5 kB / 0.9586 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.8974, allocations: 5.484 kB / 0.9586 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00036/0.8977, allocations: 210.4 kB / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.8978, allocations: 0 / 0.9588 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.0006179/0.8984, allocations: 307.2 kB / 0.9591 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.8984, allocations: 83.27 kB / 0.9592 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.8985, allocations: 131.1 kB / 0.9593 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.8986, allocations: 36.61 kB / 0.9594 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.8987, allocations: 106.1 kB / 0.9595 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.8987, allocations: 54.69 kB / 0.9595 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.8988, allocations: 13.44 kB / 0.9595 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.8988, allocations: 324.6 kB / 0.9598 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.899, allocations: 81.92 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.8992, allocations: 153.2 kB / 0.9601 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.8994, allocations: 143 kB / 0.9602 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8995, allocations: 5.359 kB / 0.9602 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005377/0.9, allocations: 354.2 kB / 0.9605 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.9001, allocations: 75.59 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9001, allocations: 2.75 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.9001, allocations: 4.125 kB / 0.9606 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.9002, allocations: 20.3 kB / 0.9606 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.9002, allocations: 2.625 kB / 0.9606 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.9006, allocations: 87.31 kB / 0.9607 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.9006, allocations: 22.08 kB / 0.9607 GB, free: 3.047 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001231/0.9008, allocations: 146.3 kB / 0.9609 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.9008, allocations: 13.22 kB / 0.9609 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.9008, allocations: 18.14 kB / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.9008, allocations: 3.062 kB / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.9009, allocations: 0 / 0.9609 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.9009, allocations: 5.328 kB / 0.9609 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.9015, allocations: 0.6124 MB / 0.9615 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.9015, allocations: 4 kB / 0.9615 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.9016, allocations: 10.69 kB / 0.9615 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9016, allocations: 9.016 kB / 0.9615 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.9016, allocations: 7.266 kB / 0.9615 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.9016, allocations: 2.25 kB / 0.9615 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9016, allocations: 0 / 0.9615 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.9022, allocations: 423 kB / 0.962 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.9022, allocations: 97.11 kB / 0.962 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.9023, allocations: 15.97 kB / 0.9621 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.9025, allocations: 11.14 kB / 0.9621 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/0.9026, allocations: 25.36 kB / 0.9621 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.9026, allocations: 16.97 kB / 0.9621 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.1e-05/0.9027, allocations: 93.61 kB / 0.9622 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.9027, allocations: 0 / 0.9622 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00057/0.9033, allocations: 58.05 kB / 0.9623 GB, free: 1.801 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0003052/0.9036, allocations: 127.9 kB / 0.9624 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007365/0.9044, allocations: 342.4 kB / 0.9627 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9044, allocations: 0 / 0.9627 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.9046, allocations: 116.1 kB / 0.9628 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/0.9051, allocations: 24.41 kB / 0.9628 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.9056, allocations: 327 kB / 0.9631 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.9058, allocations: 0.7084 MB / 0.9638 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.9058, allocations: 25.92 kB / 0.9639 GB, free: 420 kB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9058, allocations: 0 / 0.9639 GB, free: 420 kB / 0.7169 GB Notification: Performance of Templates: time 0.004897/0.9107, allocations: 2.233 MB / 0.966 GB, free: 15.26 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Controls.OBC.CDL.Logical.Validation.TimerCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerCalcHelperMain.o] Error 1