Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 255.9 MB / 271.2 MB, free: 8.898 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 186.4 kB / 330.8 MB, free: 468 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 225.7 MB / 0.6016 GB, free: 15.95 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.0009261, allocations: 103.5 kB / 0.709 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 9.438 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.265, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008018/0.2658, allocations: 289.9 kB / 0.9331 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.746e-05/0.2659, allocations: 3.938 kB / 0.9331 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.2659, allocations: 0 / 0.9331 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.266, allocations: 0 / 0.9331 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.601e-05/0.266, allocations: 4 kB / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.231e-05/0.266, allocations: 0 / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.843e-05/0.2661, allocations: 8 kB / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.2662, allocations: 0 / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.2662, allocations: 0 / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.732e-05/0.2662, allocations: 0 / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2662, allocations: 0 / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-06/0.2662, allocations: 0 / 0.9331 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.2663, allocations: 4 kB / 0.9331 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.2663, allocations: 33.62 kB / 0.9331 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.562e-05/0.2663, allocations: 0 / 0.9331 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2664, allocations: 4 kB / 0.9331 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2664, allocations: 0 / 0.9331 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2664, allocations: 0 / 0.9331 GB, free: 23.75 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002838/0.2667, allocations: 311.6 kB / 0.9334 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.2667, allocations: 11.98 kB / 0.9334 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.2668, allocations: 0.9375 kB / 0.9334 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.2669, allocations: 164.4 kB / 0.9336 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2669, allocations: 8.312 kB / 0.9336 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.2669, allocations: 4.375 kB / 0.9336 GB, free: 23.17 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.267, allocations: 42.17 kB / 0.9336 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.267, allocations: 192 / 0.9336 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.267, allocations: 3.938 kB / 0.9336 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2671, allocations: 0 / 0.9336 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.2671, allocations: 4 kB / 0.9336 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.2674, allocations: 375.5 kB / 0.934 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/0.2674, allocations: 181 kB / 0.9342 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.2675, allocations: 80.14 kB / 0.9342 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.2675, allocations: 75.28 kB / 0.9343 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.2675, allocations: 109.8 kB / 0.9344 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.2675, allocations: 0 / 0.9344 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.882e-05/0.2676, allocations: 25.7 kB / 0.9344 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.2677, allocations: 138.7 kB / 0.9346 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.2677, allocations: 93.8 kB / 0.9347 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-06/0.2678, allocations: 29.69 kB / 0.9347 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/0.2678, allocations: 88.08 kB / 0.9348 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.2678, allocations: 0 / 0.9348 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.2678, allocations: 0 / 0.9348 GB, free: 21.83 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.2679, allocations: 314.8 kB / 0.9351 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-06/0.2679, allocations: 0 / 0.9351 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.488e-06/0.2679, allocations: 4.125 kB / 0.9351 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.965e-05/0.2679, allocations: 75.28 kB / 0.9352 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.2679, allocations: 75.28 kB / 0.9352 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.438e-05/0.268, allocations: 33.64 kB / 0.9353 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.268, allocations: 83.19 kB / 0.9353 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.268, allocations: 79.22 kB / 0.9354 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/0.2681, allocations: 154.6 kB / 0.9356 GB, free: 21.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.769e-05/0.2681, allocations: 87.2 kB / 0.9356 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.5e-05/0.2681, allocations: 150.6 kB / 0.9358 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.367e-05/0.2682, allocations: 79.28 kB / 0.9359 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2682, allocations: 83.22 kB / 0.9359 GB, free: 20.62 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.955e-05/0.2683, allocations: 261 kB / 0.9362 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.2684, allocations: 101 kB / 0.9363 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.2684, allocations: 123.8 kB / 0.9364 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.918e-05/0.2684, allocations: 176.3 kB / 0.9366 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-05/0.2685, allocations: 180.3 kB / 0.9367 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/0.2685, allocations: 180.2 kB / 0.9369 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2687, allocations: 405.2 kB / 0.9373 GB, free: 19.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/0.2687, allocations: 108.9 kB / 0.9374 GB, free: 19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.2687, allocations: 101 kB / 0.9375 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.863e-05/0.2687, allocations: 192.5 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.2688, allocations: 180.2 kB / 0.9379 GB, free: 18.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.623e-05/0.2688, allocations: 180.2 kB / 0.938 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.764e-05/0.2688, allocations: 184.2 kB / 0.9382 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.243e-05/0.2689, allocations: 311.7 kB / 0.9385 GB, free: 17.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.269, allocations: 186 kB / 0.9387 GB, free: 17.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.269, allocations: 180.3 kB / 0.9389 GB, free: 17.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.2691, allocations: 104.9 kB / 0.939 GB, free: 17.32 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.2691, allocations: 180.3 kB / 0.9391 GB, free: 17.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.2691, allocations: 109 kB / 0.9392 GB, free: 17.02 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.494e-05/0.2692, allocations: 83.2 kB / 0.9393 GB, free: 16.94 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2692, allocations: 3.938 kB / 0.9393 GB, free: 16.93 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002719/0.2695, allocations: 0 / 0.9393 GB, free: 16.93 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001224/0.2696, allocations: 179.1 kB / 0.9395 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.139e-05/0.2696, allocations: 4.094 kB / 0.9395 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2696, allocations: 0 / 0.9395 GB, free: 16.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2696, allocations: 4 kB / 0.9395 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.2699, allocations: 0.5224 MB / 0.94 GB, free: 16.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001869/0.2701, allocations: 146 kB / 0.9401 GB, free: 16.04 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.2703, allocations: 0.677 MB / 0.9408 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.298e-05/0.2703, allocations: 7.938 kB / 0.9408 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.2703, allocations: 7.438 kB / 0.9408 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of SimCode: time 3.21e-07/0.2703, allocations: 0 / 0.9408 GB, free: 15.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.001757/0.2721, allocations: 168.8 kB / 0.941 GB, free: 15.16 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)