Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.738/1.738, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001153/0.001153, allocations: 187.2 kB / 393.1 MB, free: 4.086 MB / 314.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.342/1.342, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007446/0.0007446, allocations: 93.66 kB / 0.7935 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 13.31 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5465, allocations: 121.3 MB / 1.041 GB, free: 57.82 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001253/0.5478, allocations: 1.159 MB / 1.042 GB, free: 57.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0005749/0.5484, allocations: 0.502 MB / 1.042 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.5484, allocations: 1.375 kB / 1.042 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.5485, allocations: 4.781 kB / 1.042 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.5485, allocations: 1.453 kB / 1.042 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.5487, allocations: 18.28 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.5488, allocations: 30.45 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.5489, allocations: 6.406 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.549, allocations: 12 kB / 1.043 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.5491, allocations: 10.27 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.5491, allocations: 0 / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-05/0.5492, allocations: 19.39 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.5492, allocations: 7.984 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.5492, allocations: 35.42 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.5493, allocations: 32.33 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5494, allocations: 1.375 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5494, allocations: 0 / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.5494, allocations: 0 / 1.043 GB, free: 56.57 MB / 0.698 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.0004069/0.5498, allocations: 344 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5498, allocations: 9.625 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5499, allocations: 2.312 kB / 1.043 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.736e-05/0.55, allocations: 177.9 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.55, allocations: 384 / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.55, allocations: 1.75 kB / 1.043 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5502, allocations: 58.73 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5502, allocations: 3.719 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.5502, allocations: 0 / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5502, allocations: 2.688 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.5504, allocations: 46.19 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.5507, allocations: 256.8 kB / 1.044 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.5509, allocations: 52.69 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.179e-05/0.551, allocations: 25.83 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.5511, allocations: 85.48 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.5511, allocations: 34.31 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5511, allocations: 0 / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.5515, allocations: 92.89 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.5515, allocations: 60.19 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.552e-05/0.5516, allocations: 102.2 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.5516, allocations: 29.7 kB / 1.044 GB, free: 55.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.5516, allocations: 80.84 kB / 1.044 GB, free: 55.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.5516, allocations: 5.109 kB / 1.044 GB, free: 55.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.5516, allocations: 4.75 kB / 1.044 GB, free: 55.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.5517, allocations: 319.8 kB / 1.044 GB, free: 54.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.5518, allocations: 19.59 kB / 1.044 GB, free: 54.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.176e-05/0.5519, allocations: 25.88 kB / 1.044 GB, free: 54.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.552, allocations: 52.44 kB / 1.044 GB, free: 54.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.552, allocations: 3.406 kB / 1.044 GB, free: 54.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001785/0.5522, allocations: 85.12 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5522, allocations: 9.375 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.5522, allocations: 256 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5522, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.5523, allocations: 17.27 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5523, allocations: 0 / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.5524, allocations: 11.97 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.5524, allocations: 0 / 1.045 GB, free: 54.78 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.5524, allocations: 118.4 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.5525, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.5527, allocations: 84.64 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5527, allocations: 0 / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.5527, allocations: 4.219 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5527, allocations: 0 / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.5528, allocations: 158.9 kB / 1.045 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5528, allocations: 7.172 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.5529, allocations: 8.5 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5529, allocations: 0 / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.5529, allocations: 3.703 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5529, allocations: 6.844 kB / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5529, allocations: 0 / 1.045 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.5531, allocations: 179.2 kB / 1.045 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.5531, allocations: 82.7 kB / 1.045 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.5531, allocations: 0 / 1.045 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.5532, allocations: 9.297 kB / 1.045 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.5533, allocations: 6.844 kB / 1.045 GB, free: 54.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.5533, allocations: 0 / 1.045 GB, free: 54.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.5533, allocations: 83.12 kB / 1.045 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5533, allocations: 0 / 1.045 GB, free: 54.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002112/0.5535, allocations: 10.34 kB / 1.045 GB, free: 54.08 MB / 0.698 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 (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.0001048/0.5536, allocations: 114.5 kB / 1.045 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.5538, allocations: 45.8 kB / 1.045 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5538, allocations: 3.5 kB / 1.045 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.5539, allocations: 21.91 kB / 1.045 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.5542, allocations: 14.27 kB / 1.046 GB, free: 53.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.5544, allocations: 113.9 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.767e-05/0.5545, allocations: 0.678 MB / 1.046 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.28e-05/0.5545, allocations: 5.812 kB / 1.046 GB, free: 53.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.5545, allocations: 7.438 kB / 1.046 GB, free: 53.15 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.5545, allocations: 0 / 1.046 GB, free: 53.15 MB / 0.698 GB Notification: Performance of Templates: time 0.002061/0.5566, allocations: 496.5 kB / 1.047 GB, free: 53.08 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)