Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 297.4 MB / 312.6 MB, free: 2.934 MB / 234.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.001211/0.001212, allocations: 190 kB / 382.3 MB, free: 14.82 MB / 314.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.712/1.712, allocations: 225.7 MB / 0.6617 GB, free: 7.137 MB / 490.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.0008939/0.000894, allocations: 89.98 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 11.98 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/0.8029, allocations: 119.2 MB / 1.022 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008119/0.8038, allocations: 285 kB / 1.023 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 3.822e-05/0.8038, allocations: 4 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.8038, allocations: 0 / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.8039, allocations: 5.938 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.274e-05/0.8039, allocations: 0 / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.29e-05/0.8039, allocations: 0.5 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.804, allocations: 1.875 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.8041, allocations: 5.938 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.8041, allocations: 2.594 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.856e-05/0.8041, allocations: 2.438 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.8042, allocations: 0 / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.128e-06/0.8042, allocations: 0 / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.8042, allocations: 3.75 kB / 1.023 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.8042, allocations: 30.27 kB / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 5.401e-05/0.8043, allocations: 5.875 kB / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8043, allocations: 0.9375 kB / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8043, allocations: 0 / 1.023 GB, free: 57.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.8043, allocations: 2.719 kB / 1.023 GB, free: 57.53 MB / 0.698 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.0002221/0.8046, allocations: 316.3 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8046, allocations: 6.625 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.8046, allocations: 2.344 kB / 1.023 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/0.8047, allocations: 163.5 kB / 1.023 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.8048, allocations: 384 / 1.023 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.8048, allocations: 1.75 kB / 1.023 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.8049, allocations: 30.36 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.8049, allocations: 2.688 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.8049, allocations: 7.438 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.8049, allocations: 0 / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.49e-05/0.8049, allocations: 3.938 kB / 1.023 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.8052, allocations: 380.9 kB / 1.024 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.8052, allocations: 170.6 kB / 1.024 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.939e-05/0.8053, allocations: 85.77 kB / 1.024 GB, free: 56.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.8053, allocations: 76.31 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.8053, allocations: 111.2 kB / 1.024 GB, free: 56.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.8053, allocations: 1.062 kB / 1.024 GB, free: 56.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.564e-05/0.8054, allocations: 39.66 kB / 1.024 GB, free: 56.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.8054, allocations: 130 kB / 1.024 GB, free: 55.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.8055, allocations: 94.95 kB / 1.024 GB, free: 55.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.8055, allocations: 26.92 kB / 1.024 GB, free: 55.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.8055, allocations: 81.2 kB / 1.024 GB, free: 55.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.8055, allocations: 0 / 1.024 GB, free: 55.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-07/0.8055, allocations: 0.5 kB / 1.024 GB, free: 55.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.8056, allocations: 315.7 kB / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-06/0.8056, allocations: 0 / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-06/0.8056, allocations: 0 / 1.025 GB, free: 55.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.397e-05/0.8056, allocations: 80.12 kB / 1.025 GB, free: 55.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/0.8057, allocations: 79.22 kB / 1.025 GB, free: 55.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.308e-05/0.8057, allocations: 35.03 kB / 1.025 GB, free: 55.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.8057, allocations: 85.69 kB / 1.025 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.8058, allocations: 76.66 kB / 1.025 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.378e-05/0.8058, allocations: 155.2 kB / 1.025 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.403e-05/0.8058, allocations: 82.12 kB / 1.025 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.58e-05/0.8059, allocations: 155.9 kB / 1.025 GB, free: 54.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.8059, allocations: 84.5 kB / 1.025 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.8059, allocations: 76.66 kB / 1.025 GB, free: 54.5 MB / 0.698 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.509e-05/0.806, allocations: 264.8 kB / 1.026 GB, free: 54.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.8061, allocations: 107.9 kB / 1.026 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.8061, allocations: 111.2 kB / 1.026 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/0.8061, allocations: 185.4 kB / 1.026 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/0.8062, allocations: 177.9 kB / 1.026 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.8062, allocations: 177.6 kB / 1.026 GB, free: 53.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.8064, allocations: 413.8 kB / 1.027 GB, free: 53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/0.8064, allocations: 102.4 kB / 1.027 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.8064, allocations: 107.2 kB / 1.027 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/0.8064, allocations: 180.3 kB / 1.027 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.8065, allocations: 179.6 kB / 1.027 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.516e-05/0.8065, allocations: 181.6 kB / 1.028 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.662e-05/0.8065, allocations: 181.6 kB / 1.028 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.916e-05/0.8066, allocations: 310.1 kB / 1.028 GB, free: 51.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.8066, allocations: 183.5 kB / 1.028 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.8067, allocations: 181.6 kB / 1.028 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.8068, allocations: 115 kB / 1.028 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.8068, allocations: 188.8 kB / 1.029 GB, free: 51.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.8068, allocations: 101 kB / 1.029 GB, free: 50.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.8068, allocations: 78.03 kB / 1.029 GB, free: 50.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8069, allocations: 0 / 1.029 GB, free: 50.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000247/0.8071, allocations: 0 / 1.029 GB, free: 50.87 MB / 0.698 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.0001212/0.8072, allocations: 182.8 kB / 1.029 GB, free: 50.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 3.58e-05/0.8073, allocations: 5.531 kB / 1.029 GB, free: 50.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.8073, allocations: 0 / 1.029 GB, free: 50.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.8073, allocations: 0 / 1.029 GB, free: 50.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.8076, allocations: 0.5272 MB / 1.03 GB, free: 50.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.8078, allocations: 156 kB / 1.03 GB, free: 50.01 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.8079, allocations: 0.671 MB / 1.03 GB, free: 49.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.815e-06/0.8079, allocations: 0 / 1.03 GB, free: 49.31 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.8079, allocations: 7.438 kB / 1.03 GB, free: 49.3 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.8079, allocations: 3.938 kB / 1.03 GB, free: 49.3 MB / 0.698 GB Notification: Performance of Templates: time 0.001772/0.8097, allocations: 164.7 kB / 1.03 GB, free: 49.26 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)