Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.769/1.769, allocations: 291.7 MB / 306.8 MB, free: 7.617 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.001059/0.001059, allocations: 173.5 kB / 375.4 MB, free: 5.078 MB / 298.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.506/1.506, allocations: 225.7 MB / 0.6538 GB, free: 13.6 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.000899/0.0008991, allocations: 100.5 kB / 0.7699 GB, free: 50.18 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004076, allocations: 12 kB / 0.8956 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.7749, allocations: 118.1 MB / 1.011 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008227/0.7758, allocations: 288.8 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.289e-05/0.7759, allocations: 0 / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.7759, allocations: 2.25 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.7759, allocations: 0.75 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.776, allocations: 0 / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.185e-05/0.776, allocations: 4.875 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.984e-05/0.7761, allocations: 1.094 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.544e-05/0.7762, allocations: 6.281 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.7762, allocations: 3.938 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.7762, allocations: 0.9062 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.7762, allocations: 0.5469 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-06/0.7762, allocations: 0.8438 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.7763, allocations: 2.859 kB / 1.011 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.921e-05/0.7763, allocations: 26.52 kB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.475e-05/0.7763, allocations: 1.438 kB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7763, allocations: 0 / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7763, allocations: 1.438 kB / 1.011 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7764, allocations: 0 / 1.011 GB, free: 57.42 MB / 0.7136 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.0002612/0.7766, allocations: 313.8 kB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7767, allocations: 8.969 kB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.7767, allocations: 1.719 kB / 1.012 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.7768, allocations: 164 kB / 1.012 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.7769, allocations: 4.703 kB / 1.012 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-06/0.7769, allocations: 384 / 1.012 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.777, allocations: 37.88 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.777, allocations: 1.125 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.777, allocations: 5.531 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.7771, allocations: 0 / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.7771, allocations: 2.938 kB / 1.012 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.7774, allocations: 380.7 kB / 1.012 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.702e-05/0.7775, allocations: 177.8 kB / 1.012 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/0.7775, allocations: 83.89 kB / 1.012 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.7776, allocations: 75.28 kB / 1.012 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.555e-05/0.7776, allocations: 111.7 kB / 1.013 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.7776, allocations: 0 / 1.013 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.78e-05/0.7777, allocations: 25.7 kB / 1.013 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.7778, allocations: 129.8 kB / 1.013 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.7779, allocations: 96.83 kB / 1.013 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.7779, allocations: 26.33 kB / 1.013 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.7779, allocations: 84.45 kB / 1.013 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.7779, allocations: 3.938 kB / 1.013 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.7779, allocations: 0 / 1.013 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.778, allocations: 316.4 kB / 1.013 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-06/0.778, allocations: 2.062 kB / 1.013 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/0.778, allocations: 0 / 1.013 GB, free: 55.28 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.778, allocations: 75.28 kB / 1.013 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.396e-05/0.778, allocations: 78.5 kB / 1.013 GB, free: 55.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.619e-05/0.7781, allocations: 33.55 kB / 1.013 GB, free: 55.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.7781, allocations: 81.69 kB / 1.013 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/0.7782, allocations: 83.45 kB / 1.014 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.235e-05/0.7782, allocations: 156.5 kB / 1.014 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.792e-05/0.7782, allocations: 80.52 kB / 1.014 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-05/0.7783, allocations: 157.6 kB / 1.014 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.246e-05/0.7783, allocations: 79.81 kB / 1.014 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.7784, allocations: 80.88 kB / 1.014 GB, free: 54.41 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.895e-05/0.7784, allocations: 264.6 kB / 1.014 GB, free: 54.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.7785, allocations: 106 kB / 1.014 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.7785, allocations: 108.3 kB / 1.015 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.7786, allocations: 181.3 kB / 1.015 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.338e-05/0.7786, allocations: 180.7 kB / 1.015 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/0.7786, allocations: 182.5 kB / 1.015 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.7788, allocations: 405.2 kB / 1.015 GB, free: 52.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.7788, allocations: 108.2 kB / 1.016 GB, free: 52.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.7788, allocations: 106.5 kB / 1.016 GB, free: 52.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.731e-05/0.7789, allocations: 179.8 kB / 1.016 GB, free: 52.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.7789, allocations: 185.3 kB / 1.016 GB, free: 52.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.883e-05/0.7789, allocations: 182.8 kB / 1.016 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.734e-05/0.779, allocations: 185.1 kB / 1.016 GB, free: 51.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.217e-05/0.779, allocations: 299.4 kB / 1.017 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.7791, allocations: 193.2 kB / 1.017 GB, free: 51.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.7791, allocations: 180.7 kB / 1.017 GB, free: 51.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.7792, allocations: 107.3 kB / 1.017 GB, free: 51.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.7792, allocations: 178.9 kB / 1.017 GB, free: 51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.7793, allocations: 106.8 kB / 1.017 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.08e-05/0.7793, allocations: 81.5 kB / 1.017 GB, free: 50.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7793, allocations: 0 / 1.017 GB, free: 50.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002664/0.7796, allocations: 4.688 kB / 1.017 GB, free: 50.82 MB / 0.7136 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 (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.0001283/0.7797, allocations: 181.3 kB / 1.018 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.198e-05/0.7798, allocations: 4.141 kB / 1.018 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7798, allocations: 0 / 1.018 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.7798, allocations: 1.062 kB / 1.018 GB, free: 50.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.7801, allocations: 0.5266 MB / 1.018 GB, free: 50.13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.7803, allocations: 153.3 kB / 1.018 GB, free: 49.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.7804, allocations: 0.6737 MB / 1.019 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.616e-06/0.7804, allocations: 0 / 1.019 GB, free: 49.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.7805, allocations: 9.094 kB / 1.019 GB, free: 49.26 MB / 0.7136 GB Notification: Performance of SimCode: time 1.463e-06/0.7805, allocations: 0 / 1.019 GB, free: 49.26 MB / 0.7136 GB Notification: Performance of Templates: time 0.001859/0.7823, allocations: 156.4 kB / 1.019 GB, free: 49.25 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)