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.Continuous.Validation.Less.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.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") 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.537/1.537, allocations: 255.9 MB / 271.2 MB, free: 8.934 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.001087/0.001087, allocations: 189.9 kB / 330.8 MB, free: 0.4961 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 1.805/1.805, allocations: 225.7 MB / 0.6016 GB, free: 15.93 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.0007758/0.0007755, allocations: 103.6 kB / 0.709 GB, free: 5.387 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004049/0.0004052, allocations: 12.91 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2164, allocations: 109.2 MB / 0.9328 GB, free: 24.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001526/0.2179, allocations: 1.128 MB / 0.9339 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.2182, allocations: 107.8 kB / 0.934 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.2183, allocations: 4 kB / 0.934 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2183, allocations: 0 / 0.934 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.2184, allocations: 11.91 kB / 0.934 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.059e-05/0.2185, allocations: 7.938 kB / 0.934 GB, free: 22.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.2186, allocations: 47.84 kB / 0.934 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.2187, allocations: 12 kB / 0.9341 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.645e-05/0.2188, allocations: 11.92 kB / 0.9341 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.2189, allocations: 15.92 kB / 0.9341 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.2189, allocations: 4 kB / 0.9341 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.2189, allocations: 3.938 kB / 0.9341 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.219, allocations: 11.98 kB / 0.9341 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.219, allocations: 37.58 kB / 0.9341 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.101e-05/0.2191, allocations: 39.84 kB / 0.9342 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.2191, allocations: 0 / 0.9342 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.944e-06/0.2191, allocations: 4 kB / 0.9342 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2191, allocations: 0 / 0.9342 GB, free: 22.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005341/0.2197, allocations: 375.7 kB / 0.9345 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2197, allocations: 11.98 kB / 0.9346 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.2198, allocations: 12.94 kB / 0.9346 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.2199, allocations: 172.2 kB / 0.9347 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2199, allocations: 384 / 0.9347 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2199, allocations: 384 / 0.9347 GB, free: 22 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.2202, allocations: 82.16 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2203, allocations: 4.188 kB / 0.9348 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.2203, allocations: 3.938 kB / 0.9348 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2203, allocations: 0 / 0.9348 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2206, allocations: 91.91 kB / 0.9349 GB, free: 21.81 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.221, allocations: 269 kB / 0.9352 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2212, allocations: 74.41 kB / 0.9352 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2214, allocations: 56.91 kB / 0.9353 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.2214, allocations: 0 / 0.9353 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.2214, allocations: 30.56 kB / 0.9353 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.2214, allocations: 0 / 0.9353 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0005207/0.222, allocations: 157.5 kB / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.222, allocations: 55.41 kB / 0.9355 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.2221, allocations: 117.8 kB / 0.9356 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.2221, allocations: 25.7 kB / 0.9357 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.2221, allocations: 88.06 kB / 0.9357 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.2222, allocations: 11.91 kB / 0.9358 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.2222, allocations: 0 / 0.9358 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.2223, allocations: 310.8 kB / 0.936 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2224, allocations: 47.95 kB / 0.9361 GB, free: 20.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.2225, allocations: 39.97 kB / 0.9361 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.2228, allocations: 92.78 kB / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2228, allocations: 3.938 kB / 0.9362 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002863/0.2231, allocations: 117.5 kB / 0.9363 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2231, allocations: 11.91 kB / 0.9363 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2231, allocations: 0 / 0.9363 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2231, allocations: 3.938 kB / 0.9364 GB, free: 20.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.2233, allocations: 15.98 kB / 0.9364 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2233, allocations: 3.984 kB / 0.9364 GB, free: 20.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.2234, allocations: 27.92 kB / 0.9364 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.2234, allocations: 0 / 0.9364 GB, free: 20.16 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: 1 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.218e-05/0.2235, allocations: 118.4 kB / 0.9365 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.2235, allocations: 0 / 0.9365 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.2235, allocations: 7.906 kB / 0.9365 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2235, allocations: 0 / 0.9365 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2235, allocations: 3.984 kB / 0.9365 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2235, allocations: 4 kB / 0.9365 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.2237, allocations: 169.6 kB / 0.9367 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.2237, allocations: 0 / 0.9367 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.2238, allocations: 15.98 kB / 0.9367 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2238, allocations: 4 kB / 0.9367 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2238, allocations: 4 kB / 0.9367 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2238, allocations: 0 / 0.9367 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2238, allocations: 0 / 0.9367 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.2241, allocations: 227.6 kB / 0.9369 GB, free: 19.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.2242, allocations: 77.11 kB / 0.937 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2242, allocations: 4 kB / 0.937 GB, free: 19.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.2243, allocations: 23.97 kB / 0.937 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.2243, allocations: 8.031 kB / 0.937 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.2244, allocations: 8 kB / 0.937 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.091e-05/0.2244, allocations: 87.25 kB / 0.9371 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2244, allocations: 3.938 kB / 0.9371 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001883/0.2246, allocations: 15.94 kB / 0.9371 GB, free: 19.29 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: 1 (less1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001251/0.2247, allocations: 103.8 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.225, allocations: 87.92 kB / 0.9373 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2251, allocations: 0 / 0.9373 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.2252, allocations: 55.89 kB / 0.9374 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.2255, allocations: 11.94 kB / 0.9374 GB, free: 19.03 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.2259, allocations: 128.6 kB / 0.9375 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.226, allocations: 0.6848 MB / 0.9382 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.196e-05/0.2261, allocations: 4 kB / 0.9382 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.2261, allocations: 7.438 kB / 0.9382 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of SimCode: time 1.082e-06/0.2261, allocations: 0 / 0.9382 GB, free: 18.15 MB / 0.5886 GB Notification: Performance of Templates: time 0.002434/0.2286, allocations: 0.5696 MB / 0.9387 GB, free: 17.59 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1)