Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.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 7.0.1/package.mo): time 2.328/2.328, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001334/0.001334, allocations: 197.3 kB / 329.5 MB, free: 1.156 MB / 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 2.716/2.716, allocations: 225.6 MB / 0.6001 GB, free: 3.637 MB / 426.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.001002/0.001002, allocations: 98.5 kB / 0.7074 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004719, allocations: 12.03 kB / 0.8242 GB, free: 129.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 109.1 MB / 0.9308 GB, free: 43.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0007147/0.2118, allocations: 274.9 kB / 0.931 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.786e-05/0.2118, allocations: 8 kB / 0.9311 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.2119, allocations: 0 / 0.9311 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.2119, allocations: 0 / 0.9311 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.272e-05/0.2119, allocations: 0 / 0.9311 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.838e-05/0.212, allocations: 0 / 0.9311 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.212, allocations: 4 kB / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.2121, allocations: 0 / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.2121, allocations: 3.938 kB / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.701e-05/0.2121, allocations: 0 / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.2122, allocations: 0 / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.2122, allocations: 0 / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.2122, allocations: 4 kB / 0.9311 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.2122, allocations: 29.7 kB / 0.9311 GB, free: 43.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.132e-05/0.2123, allocations: 7.984 kB / 0.9311 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2123, allocations: 0 / 0.9311 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2123, allocations: 0 / 0.9311 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.2123, allocations: 0 / 0.9311 GB, free: 43.07 MB / 0.6042 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.0002128/0.2125, allocations: 311.5 kB / 0.9314 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2126, allocations: 14.91 kB / 0.9314 GB, free: 42.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.2126, allocations: 4.922 kB / 0.9314 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/0.2127, allocations: 160.4 kB / 0.9316 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2127, allocations: 4.375 kB / 0.9316 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2127, allocations: 384 / 0.9316 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/0.2128, allocations: 38.14 kB / 0.9316 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2129, allocations: 192 / 0.9316 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.2129, allocations: 3.938 kB / 0.9316 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2129, allocations: 0 / 0.9316 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.2129, allocations: 3.938 kB / 0.9316 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.2132, allocations: 383.5 kB / 0.932 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.261e-05/0.2133, allocations: 177 kB / 0.9322 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.2133, allocations: 80.14 kB / 0.9322 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2133, allocations: 79.28 kB / 0.9323 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2134, allocations: 105.8 kB / 0.9324 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.2134, allocations: 4 kB / 0.9324 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.39e-05/0.2134, allocations: 29.69 kB / 0.9324 GB, free: 41.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.2135, allocations: 126.7 kB / 0.9326 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.2136, allocations: 97.86 kB / 0.9327 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.2136, allocations: 25.7 kB / 0.9327 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.157e-05/0.2136, allocations: 84.14 kB / 0.9328 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-06/0.2136, allocations: 4 kB / 0.9328 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.2137, allocations: 128 / 0.9328 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.2137, allocations: 318.8 kB / 0.9331 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-06/0.2137, allocations: 0 / 0.9331 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.2138, allocations: 0 / 0.9331 GB, free: 40.85 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.878e-05/0.2138, allocations: 75.28 kB / 0.9331 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.2138, allocations: 75.28 kB / 0.9332 GB, free: 40.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.02e-05/0.2139, allocations: 37.62 kB / 0.9332 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.2139, allocations: 79.28 kB / 0.9333 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.2139, allocations: 79.22 kB / 0.9334 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.001e-05/0.214, allocations: 158.6 kB / 0.9335 GB, free: 40.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.498e-05/0.214, allocations: 75.28 kB / 0.9336 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.23e-05/0.214, allocations: 158.5 kB / 0.9338 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.622e-05/0.2141, allocations: 79.28 kB / 0.9338 GB, free: 40.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2141, allocations: 83.22 kB / 0.9339 GB, free: 39.95 MB / 0.6042 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 8.032e-05/0.2142, allocations: 268.3 kB / 0.9342 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.2143, allocations: 101 kB / 0.9343 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.2143, allocations: 112.1 kB / 0.9344 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.2144, allocations: 184.2 kB / 0.9346 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/0.2144, allocations: 177 kB / 0.9347 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/0.2145, allocations: 188.2 kB / 0.9349 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.2147, allocations: 401.2 kB / 0.9353 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.2147, allocations: 105 kB / 0.9354 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.2147, allocations: 108.9 kB / 0.9355 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.338e-05/0.2148, allocations: 184.2 kB / 0.9357 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.2148, allocations: 184.5 kB / 0.9358 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-05/0.2149, allocations: 184.2 kB / 0.936 GB, free: 37.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.289e-05/0.2149, allocations: 180.2 kB / 0.9362 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.891e-05/0.215, allocations: 311.8 kB / 0.9365 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.2151, allocations: 182 kB / 0.9367 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.2151, allocations: 184.3 kB / 0.9368 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.2152, allocations: 109 kB / 0.9369 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.2153, allocations: 180.2 kB / 0.9371 GB, free: 36.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.2153, allocations: 101 kB / 0.9372 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.2153, allocations: 79.28 kB / 0.9373 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2153, allocations: 0 / 0.9373 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000294/0.2157, allocations: 0 / 0.9373 GB, free: 36.28 MB / 0.6042 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.0001263/0.2158, allocations: 184.2 kB / 0.9375 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.468e-05/0.2158, allocations: 3.938 kB / 0.9375 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2159, allocations: 0 / 0.9375 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.2159, allocations: 0 / 0.9375 GB, free: 36.09 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2162, allocations: 0.5341 MB / 0.938 GB, free: 35.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/0.2164, allocations: 150 kB / 0.9381 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2165, allocations: 0.6692 MB / 0.9388 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.786e-06/0.2165, allocations: 0 / 0.9388 GB, free: 34.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.2166, allocations: 7.438 kB / 0.9388 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2166, allocations: 0 / 0.9388 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.002134/0.2187, allocations: 162.2 kB / 0.9389 GB, free: 34.52 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)