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.Continuous.Validation.Line.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.Continuous.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.298/2.298, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001372/0.001372, allocations: 195.8 kB / 329.5 MB, free: 1.164 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.645/2.645, allocations: 225.6 MB / 0.6001 GB, free: 500 kB / 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.0009666/0.0009664, allocations: 101.9 kB / 0.7074 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005056, allocations: 18.16 kB / 0.8242 GB, free: 125 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 109.1 MB / 0.9308 GB, free: 24.85 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.002448/0.2284, allocations: 1.276 MB / 0.932 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007784/0.2293, allocations: 199.5 kB / 0.9322 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.2295, allocations: 4 kB / 0.9322 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.2295, allocations: 7.875 kB / 0.9322 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.2296, allocations: 3.938 kB / 0.9322 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.2299, allocations: 43.94 kB / 0.9323 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002713/0.2302, allocations: 123.7 kB / 0.9324 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.2305, allocations: 69.06 kB / 0.9325 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.2306, allocations: 27.86 kB / 0.9325 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.2307, allocations: 47.7 kB / 0.9325 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.2307, allocations: 4 kB / 0.9325 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 2.77e-05/0.2308, allocations: 8 kB / 0.9325 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.866e-05/0.2308, allocations: 31.83 kB / 0.9326 GB, free: 23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.2309, allocations: 41.64 kB / 0.9326 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2311, allocations: 95.77 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2311, allocations: 4 kB / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2311, allocations: 0 / 0.9327 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2311, allocations: 0 / 0.9327 GB, free: 22.86 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001254/0.2324, allocations: 423.5 kB / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2325, allocations: 8.031 kB / 0.9331 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.2326, allocations: 16.75 kB / 0.9331 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.2329, allocations: 208.1 kB / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.2329, allocations: 20.3 kB / 0.9334 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.233, allocations: 12.38 kB / 0.9334 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.2335, allocations: 154.7 kB / 0.9335 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.2335, allocations: 192 / 0.9335 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.2335, allocations: 11.94 kB / 0.9335 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2336, allocations: 0 / 0.9335 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.234, allocations: 139.9 kB / 0.9337 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.2351, allocations: 0.4922 MB / 0.9341 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.2354, allocations: 98.47 kB / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.2356, allocations: 44.84 kB / 0.9343 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.2356, allocations: 7.984 kB / 0.9343 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2357, allocations: 34.56 kB / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.2357, allocations: 0 / 0.9343 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0007536/0.2364, allocations: 177.6 kB / 0.9345 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.2365, allocations: 59.34 kB / 0.9345 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.2367, allocations: 192.3 kB / 0.9347 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.2367, allocations: 25.7 kB / 0.9348 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.2368, allocations: 120.2 kB / 0.9349 GB, free: 20.44 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.2369, allocations: 31.55 kB / 0.9349 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.2369, allocations: 4 kB / 0.9349 GB, free: 20.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.237, allocations: 322.8 kB / 0.9352 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.2372, allocations: 51.91 kB / 0.9353 GB, free: 20.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.2374, allocations: 43.98 kB / 0.9353 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2376, allocations: 51.97 kB / 0.9353 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2376, allocations: 0 / 0.9353 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005142/0.2381, allocations: 161.4 kB / 0.9355 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.2382, allocations: 4 kB / 0.9355 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.2382, allocations: 0 / 0.9355 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2382, allocations: 3.984 kB / 0.9355 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.2385, allocations: 35.91 kB / 0.9355 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.2385, allocations: 4 kB / 0.9355 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2387, allocations: 15.84 kB / 0.9356 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.2387, allocations: 8 kB / 0.9356 GB, free: 19.7 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 (13): * Single equations (assignments): 13 * 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 0.000112/0.2389, allocations: 126.2 kB / 0.9357 GB, free: 19.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.2389, allocations: 15.81 kB / 0.9357 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005371/0.2395, allocations: 151 kB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2395, allocations: 4 kB / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2395, allocations: 0 / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2395, allocations: 0 / 0.9359 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008201/0.2404, allocations: 468.8 kB / 0.9363 GB, free: 18.88 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.2404, allocations: 4 kB / 0.9363 GB, free: 18.87 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.2406, allocations: 19.98 kB / 0.9363 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.2406, allocations: 4 kB / 0.9363 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.2406, allocations: 8.094 kB / 0.9363 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2407, allocations: 4 kB / 0.9363 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2407, allocations: 0 / 0.9363 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.2412, allocations: 253.8 kB / 0.9366 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.2412, allocations: 100.8 kB / 0.9367 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.2413, allocations: 4 kB / 0.9367 GB, free: 18.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2415, allocations: 23.92 kB / 0.9367 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.2416, allocations: 15.92 kB / 0.9367 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.2416, allocations: 12.19 kB / 0.9367 GB, free: 18.39 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2418, allocations: 140.1 kB / 0.9369 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2418, allocations: 3.938 kB / 0.9369 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003143/0.2421, allocations: 24 kB / 0.9369 GB, free: 18.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001409/0.2423, allocations: 103.2 kB / 0.937 GB, free: 18.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004877/0.2428, allocations: 107.9 kB / 0.9371 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.2428, allocations: 0 / 0.9371 GB, free: 18.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.243, allocations: 55.92 kB / 0.9371 GB, free: 17.95 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.2434, allocations: 16.17 kB / 0.9372 GB, free: 17.94 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.2441, allocations: 280.6 kB / 0.9374 GB, free: 17.63 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2442, allocations: 0.7048 MB / 0.9381 GB, free: 16.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.811e-05/0.2444, allocations: 17.08 kB / 0.9381 GB, free: 16.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.2444, allocations: 15.44 kB / 0.9381 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/0.2444, allocations: 0 / 0.9381 GB, free: 16.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.004759/0.2492, allocations: 0.9952 MB / 0.9391 GB, free: 15.88 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1)