Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9076/0.9076, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.893/1.893, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7752 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.793e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001405/0.001423, allocations: 0.7946 MB / 0.776 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002607, allocations: 1.188 MB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.002653, allocations: 2.438 kB / 0.7772 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.002685, allocations: 3.938 kB / 0.7772 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.002767, allocations: 16.19 kB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003709/0.003138, allocations: 128.5 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003294, allocations: 121.5 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.003369, allocations: 21.2 kB / 0.7774 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.932e-05/0.003468, allocations: 63.89 kB / 0.7775 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.00354, allocations: 31.94 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.003561, allocations: 9.281 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.003632, allocations: 27.98 kB / 0.7776 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.00365, allocations: 7.938 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.166e-05/0.003692, allocations: 35.95 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.003823, allocations: 92.25 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003826, allocations: 0.75 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003826, allocations: 0 / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.00383, allocations: 5.844 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005122/0.004342, allocations: 302.4 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.004374, allocations: 13.34 kB / 0.778 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.004405, allocations: 8.922 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.271e-05/0.004488, allocations: 125.6 kB / 0.7781 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.004502, allocations: 11.12 kB / 0.7781 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.004514, allocations: 4.375 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.648e-05/0.004611, allocations: 66.92 kB / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004618, allocations: 192 / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.004624, allocations: 384 / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.004632, allocations: 4.375 kB / 0.7782 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.004653, allocations: 11.88 kB / 0.7782 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.004908, allocations: 183.5 kB / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.004974, allocations: 26.58 kB / 0.7784 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.465e-05/0.004999, allocations: 20.97 kB / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.005009, allocations: 0 / 0.7784 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.005091, allocations: 79.36 kB / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.005092, allocations: 0 / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.000117/0.005209, allocations: 74.94 kB / 0.7786 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.005238, allocations: 55.41 kB / 0.7786 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.005298, allocations: 122.6 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.005316, allocations: 34.34 kB / 0.7788 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.005352, allocations: 96.06 kB / 0.7789 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.00537, allocations: 17.02 kB / 0.7789 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.005443, allocations: 33.69 kB / 0.7789 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.005511, allocations: 314.8 kB / 0.7792 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.00556, allocations: 54.72 kB / 0.7793 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.005616, allocations: 89.95 kB / 0.7794 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.005696, allocations: 103.2 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005698, allocations: 0.5625 kB / 0.7795 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001319/0.00583, allocations: 169.9 kB / 0.7796 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.005854, allocations: 38.64 kB / 0.7797 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.005861, allocations: 3.938 kB / 0.7797 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.005875, allocations: 5.094 kB / 0.7797 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.005935, allocations: 11.98 kB / 0.7797 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-06/0.005938, allocations: 0 / 0.7797 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.509e-05/0.006023, allocations: 37.45 kB / 0.7797 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.006036, allocations: 7.984 kB / 0.7797 GB, free: 0.5117 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.339e-05/0.006099, allocations: 123.5 kB / 0.7798 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-06/0.006109, allocations: 7.984 kB / 0.7799 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.006133, allocations: 17.69 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006135, allocations: 0 / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.006136, allocations: 64 / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.006141, allocations: 5.625 kB / 0.7799 GB, free: 368 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.006329, allocations: 218.8 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.00633, allocations: 0 / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.006351, allocations: 4 kB / 0.7801 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.006354, allocations: 8.656 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.00636, allocations: 3.984 kB / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.006362, allocations: 0.5312 kB / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006363, allocations: 0 / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.612e-05/0.006449, allocations: 157.2 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.006457, allocations: 7.953 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.006471, allocations: 7.938 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.006504, allocations: 4 kB / 0.7803 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.006531, allocations: 5.484 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.006536, allocations: 4 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.006554, allocations: 20.84 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006554, allocations: 0 / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001499/0.006704, allocations: 21.03 kB / 0.7803 GB, free: 15.87 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.321e-05/0.006797, allocations: 95.55 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001517/0.006949, allocations: 145.9 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.006952, allocations: 5.219 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.006983, allocations: 29.19 kB / 0.7806 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.007117, allocations: 17.17 kB / 0.7806 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.00736, allocations: 162.3 kB / 0.7808 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.565e-05/0.007406, allocations: 59.36 kB / 0.7808 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.00743, allocations: 12.88 kB / 0.7808 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.007503, allocations: 71.36 kB / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.007504, allocations: 1.375 kB / 0.7809 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.003048/0.01055, allocations: 1.682 MB / 0.7825 GB, free: 13.62 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Change_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.818198938854039]