Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.389/2.389, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001337/0.001336, allocations: 191.2 kB / 329.5 MB, free: 1.168 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.773/2.773, allocations: 225.6 MB / 0.6001 GB, free: 2.281 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.001012/0.001012, allocations: 105.7 kB / 0.7074 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.00071/0.0007103, allocations: 12.09 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2377, allocations: 109.1 MB / 0.9308 GB, free: 25.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002097/0.2399, allocations: 1.146 MB / 0.9319 GB, free: 24.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2409, allocations: 440.1 kB / 0.9323 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.241, allocations: 4 kB / 0.9323 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.241, allocations: 3.938 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.2411, allocations: 4 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.2413, allocations: 11.98 kB / 0.9323 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.2414, allocations: 35.86 kB / 0.9324 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.2415, allocations: 3.984 kB / 0.9324 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.406e-05/0.2416, allocations: 8 kB / 0.9324 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.861e-05/0.2417, allocations: 11.92 kB / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2417, allocations: 0 / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.2418, allocations: 15.98 kB / 0.9324 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.2418, allocations: 8 kB / 0.9324 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.384e-05/0.2419, allocations: 29.64 kB / 0.9324 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.121e-05/0.242, allocations: 27.89 kB / 0.9325 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.242, allocations: 0 / 0.9325 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.124e-06/0.242, allocations: 0 / 0.9325 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.242, allocations: 3.938 kB / 0.9325 GB, free: 23.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004982/0.2425, allocations: 339.8 kB / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2426, allocations: 12.03 kB / 0.9328 GB, free: 23.04 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.2426, allocations: 8.828 kB / 0.9328 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.2428, allocations: 164.4 kB / 0.933 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.2428, allocations: 4.375 kB / 0.933 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2428, allocations: 384 / 0.933 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.2431, allocations: 57.98 kB / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2431, allocations: 0 / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2432, allocations: 0 / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2432, allocations: 0 / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.2435, allocations: 47.91 kB / 0.9331 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003522/0.2439, allocations: 256.9 kB / 0.9333 GB, free: 22.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.2442, allocations: 42.56 kB / 0.9334 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.2444, allocations: 28.89 kB / 0.9334 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2445, allocations: 81.11 kB / 0.9335 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.2446, allocations: 34.56 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.913e-06/0.2446, allocations: 7.938 kB / 0.9335 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0006574/0.2453, allocations: 89.64 kB / 0.9336 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.2453, allocations: 59.53 kB / 0.9336 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.2454, allocations: 101.8 kB / 0.9337 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.2454, allocations: 25.7 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.2455, allocations: 84.14 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.2455, allocations: 7.906 kB / 0.9339 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.2455, allocations: 0 / 0.9339 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.2456, allocations: 314.8 kB / 0.9342 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.2458, allocations: 23.97 kB / 0.9342 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.246, allocations: 23.98 kB / 0.9342 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.2462, allocations: 23.92 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.2462, allocations: 0 / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004093/0.2466, allocations: 89.5 kB / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2467, allocations: 4 kB / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2467, allocations: 0 / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2467, allocations: 0 / 0.9343 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.2469, allocations: 24.02 kB / 0.9343 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.2469, allocations: 0 / 0.9343 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.247, allocations: 8.188 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.2471, allocations: 0 / 0.9343 GB, free: 21.27 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 (2): * Single equations (assignments): 2 * 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.418e-05/0.2471, allocations: 117.8 kB / 0.9345 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.2472, allocations: 4 kB / 0.9345 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004522/0.2477, allocations: 88.72 kB / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2477, allocations: 0 / 0.9345 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2477, allocations: 3.938 kB / 0.9345 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.2477, allocations: 4 kB / 0.9346 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.2479, allocations: 161.6 kB / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.248, allocations: 0 / 0.9347 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.2481, allocations: 12.03 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2481, allocations: 0 / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2481, allocations: 0 / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.2482, allocations: 3.984 kB / 0.9347 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2482, allocations: 4 kB / 0.9347 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000435/0.2486, allocations: 171.5 kB / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.2487, allocations: 92.92 kB / 0.935 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2487, allocations: 0 / 0.935 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2489, allocations: 8 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.249, allocations: 3.984 kB / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.249, allocations: 0 / 0.935 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.249, allocations: 87.31 kB / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.91e-07/0.249, allocations: 0 / 0.9351 GB, free: 20.42 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004981/0.2495, allocations: 8 kB / 0.9351 GB, free: 20.41 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001819/0.2497, allocations: 111.2 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004168/0.2502, allocations: 47.97 kB / 0.9352 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2502, allocations: 0 / 0.9352 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.2504, allocations: 23.98 kB / 0.9353 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.2509, allocations: 11.92 kB / 0.9353 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.2513, allocations: 116.7 kB / 0.9354 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.2515, allocations: 0.677 MB / 0.936 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.2515, allocations: 0 / 0.936 GB, free: 19.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.2516, allocations: 7.438 kB / 0.936 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of SimCode: time 7.92e-07/0.2516, allocations: 0 / 0.936 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of Templates: time 0.003733/0.2553, allocations: 496.2 kB / 0.9365 GB, free: 18.88 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)