Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009386/0.0009386, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007045/0.007984, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001459/0.002538, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9846/0.9846, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09543/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.885/1.885, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5076/2.393, allocations: 123.3 MB / 0.7283 GB, free: 5.707 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.249e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002385/0.002407, allocations: 1.567 MB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006155/0.003023, allocations: 495.7 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.003055, allocations: 0.9062 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.003077, allocations: 3.938 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.003115, allocations: 3.484 kB / 0.7317 GB, free: 2.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.003228, allocations: 32.5 kB / 0.7317 GB, free: 2.316 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.003293, allocations: 29.45 kB / 0.7317 GB, free: 2.293 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.003363, allocations: 4.625 kB / 0.7317 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.163e-05/0.003445, allocations: 18.17 kB / 0.7317 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.003485, allocations: 13.86 kB / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.003497, allocations: 0 / 0.7318 GB, free: 2.262 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.003568, allocations: 16.64 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.003583, allocations: 2.406 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.408e-05/0.003597, allocations: 5.672 kB / 0.7318 GB, free: 2.242 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.003698, allocations: 29.61 kB / 0.7318 GB, free: 2.215 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.163e-05/0.00371, allocations: 5.312 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003711, allocations: 0 / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.00372, allocations: 0.625 kB / 0.7318 GB, free: 2.211 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.0003208/0.004041, allocations: 237.5 kB / 0.732 GB, free: 1.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.004079, allocations: 12.03 kB / 0.7321 GB, free: 1.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.004107, allocations: 5.625 kB / 0.7321 GB, free: 1.941 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.183e-05/0.004189, allocations: 113.7 kB / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.004196, allocations: 2.438 kB / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.004206, allocations: 384 / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.004307, allocations: 50.95 kB / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.004312, allocations: 192 / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.553e-06/0.004319, allocations: 0.9062 kB / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.004324, allocations: 5.531 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.087e-05/0.004345, allocations: 13.12 kB / 0.7322 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.004559, allocations: 144.4 kB / 0.7324 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.299e-05/0.004612, allocations: 18.58 kB / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.00463, allocations: 9.859 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.00473, allocations: 4 kB / 0.7324 GB, free: 1.531 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.004755, allocations: 31.06 kB / 0.7324 GB, free: 1.492 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.004756, allocations: 1.594 kB / 0.7324 GB, free: 1.492 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.004883, allocations: 49.56 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.004917, allocations: 51.41 kB / 0.7325 GB, free: 1.375 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.004986, allocations: 114.7 kB / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.005003, allocations: 26.52 kB / 0.7327 GB, free: 1.219 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.873e-05/0.005042, allocations: 81.02 kB / 0.7327 GB, free: 1.137 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.005062, allocations: 9.203 kB / 0.7328 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.005087, allocations: 9.719 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.005186, allocations: 322.8 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.005197, allocations: 1.75 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-06/0.005206, allocations: 4 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.005234, allocations: 12.86 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.005236, allocations: 5.156 kB / 0.7331 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.166e-05/0.005298, allocations: 38.56 kB / 0.7331 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.005313, allocations: 4 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005318, allocations: 0.6562 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005332, allocations: 3.938 kB / 0.7331 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.005411, allocations: 5.125 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.005417, allocations: 4 kB / 0.7332 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.917e-05/0.005436, allocations: 4.797 kB / 0.7332 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.00544, allocations: 0 / 0.7332 GB, free: 0.7031 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 6.758e-05/0.005507, allocations: 111.9 kB / 0.7333 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.005521, allocations: 0 / 0.7333 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.005909, allocations: 50.16 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.005912, allocations: 3.938 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.005913, allocations: 0 / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.005919, allocations: 0.6875 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.321e-05/0.006002, allocations: 73.83 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006004, allocations: 1.375 kB / 0.7334 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.006034, allocations: 11.98 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.006039, allocations: 0 / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006041, allocations: 0.75 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.006045, allocations: 0 / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.006048, allocations: 9.328 kB / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006049, allocations: 0 / 0.7334 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.931e-05/0.006118, allocations: 133.3 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.326e-06/0.006126, allocations: 3.984 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.006153, allocations: 0 / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.006183, allocations: 12.19 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.006186, allocations: 1.312 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of sorting global known variables: time 1.663e-05/0.006202, allocations: 18.19 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006203, allocations: 0 / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001172/0.00632, allocations: 7.938 kB / 0.7336 GB, free: 232 kB / 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.0001111/0.006431, allocations: 81.67 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.811e-05/0.006489, allocations: 10.11 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.006494, allocations: 7.938 kB / 0.7337 GB, free: 120 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-05/0.006511, allocations: 12.84 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.006678, allocations: 64.45 kB / 0.7337 GB, free: 28 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.007046, allocations: 109.2 kB / 0.7338 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.007078, allocations: 60.45 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.007095, allocations: 0 / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.007139, allocations: 60.09 kB / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.007139, allocations: 0 / 0.734 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of Templates: time 0.002217/0.009356, allocations: 0.6288 MB / 0.7346 GB, free: 15.17 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.893757852725685]