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.001859/0.001859, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.001995/0.001995, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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 1.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.067/3.067, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.292e-06/1.292e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.705e-05, allocations: 3.188 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002761/0.002789, allocations: 1.464 MB / 0.8122 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.003706, allocations: 493.1 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.003737, allocations: 0 / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.003756, allocations: 0 / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.003821, allocations: 5.469 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.004035, allocations: 23.97 kB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.443e-05/0.004109, allocations: 27.86 kB / 0.8128 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.649e-05/0.004186, allocations: 7.938 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.00426, allocations: 13.08 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.004298, allocations: 11.98 kB / 0.8128 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.004316, allocations: 4 kB / 0.8128 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.495e-05/0.004381, allocations: 21.5 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.004396, allocations: 4 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.004415, allocations: 4 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004551, allocations: 35.89 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004553, allocations: 2.594 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004553, allocations: 0 / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.004557, allocations: 0 / 0.8129 GB, free: 15.99 MB / 0.7761 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.0004802/0.005037, allocations: 364.2 kB / 0.8132 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.005072, allocations: 8.031 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.005114, allocations: 8.938 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.005237, allocations: 116.5 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.005249, allocations: 0.9062 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.005262, allocations: 9.078 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.00541, allocations: 42.25 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.005417, allocations: 0.7188 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-06/0.005426, allocations: 2.031 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005433, allocations: 3.938 kB / 0.8134 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.005546, allocations: 23.98 kB / 0.8134 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.005914, allocations: 251.8 kB / 0.8137 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.006033, allocations: 44.38 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/0.006098, allocations: 23.73 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.434e-05/0.006193, allocations: 5.156 kB / 0.8137 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.00623, allocations: 37.33 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.006231, allocations: 0 / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002981/0.006529, allocations: 70.98 kB / 0.8138 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.006573, allocations: 51.41 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.006712, allocations: 167.7 kB / 0.814 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.006732, allocations: 25.7 kB / 0.8141 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.417e-05/0.006816, allocations: 134.9 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.006833, allocations: 3.953 kB / 0.8142 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.00688, allocations: 24.39 kB / 0.8142 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002552/0.007135, allocations: 496.1 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.00719, allocations: 8 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.007242, allocations: 16.89 kB / 0.8147 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.734e-05/0.007339, allocations: 28.52 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.007341, allocations: 2.219 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001476/0.007488, allocations: 57.62 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.007505, allocations: 7.938 kB / 0.8148 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.007509, allocations: 3.938 kB / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.00752, allocations: 0 / 0.8148 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.717e-05/0.007597, allocations: 14.67 kB / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.007609, allocations: 0 / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.93e-05/0.007638, allocations: 0 / 0.8148 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.007647, allocations: 4 kB / 0.8148 GB, free: 13.79 MB / 0.7761 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 0.0001139/0.007761, allocations: 160.5 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.007794, allocations: 15.88 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.007974, allocations: 62.53 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007976, allocations: 0 / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.007979, allocations: 0 / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.007981, allocations: 0.5 kB / 0.8151 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.008139, allocations: 120.6 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.00814, allocations: 5.438 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.008184, allocations: 8.234 kB / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008186, allocations: 0 / 0.8152 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.008197, allocations: 7.938 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008198, allocations: 0.5 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008199, allocations: 0.6562 kB / 0.8152 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.008434, allocations: 203.6 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.008443, allocations: 7.984 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.008456, allocations: 3.938 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.529e-05/0.008521, allocations: 4 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.008554, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.008557, allocations: 0 / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002836/0.008841, allocations: 131.2 kB / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008841, allocations: 0 / 0.8155 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002128/0.009054, allocations: 8 kB / 0.8155 GB, free: 13 MB / 0.7761 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.0001579/0.009212, allocations: 100.9 kB / 0.8156 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.009377, allocations: 35.67 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.009378, allocations: 0.9375 kB / 0.8157 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.00945, allocations: 23.67 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.009697, allocations: 7.562 kB / 0.8157 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.009995, allocations: 127.3 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.213e-05/0.01007, allocations: 63.28 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.213e-05/0.01009, allocations: 1.062 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.01012, allocations: 16.44 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01012, allocations: 0 / 0.8159 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.003361/0.01348, allocations: 0.6189 MB / 0.8165 GB, free: 11.98 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.02288937009871]