Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002416/0.002416, allocations: 192.8 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 443.5 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 63.89 kB / 1.061 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7354, allocations: 160.8 MB / 1.218 GB, free: 3.664 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003008/0.7384, allocations: 1.458 MB / 1.22 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000899/0.7393, allocations: 484.4 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.7394, allocations: 1.531 kB / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.7394, allocations: 0 / 1.22 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.7395, allocations: 5.031 kB / 1.22 GB, free: 2.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.7397, allocations: 22.55 kB / 1.22 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.874e-05/0.7398, allocations: 25.61 kB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.468e-05/0.7398, allocations: 2.406 kB / 1.22 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.459e-05/0.7399, allocations: 15.73 kB / 1.22 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.74, allocations: 11.89 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.74, allocations: 2.438 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.553e-05/0.7401, allocations: 25.84 kB / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.7401, allocations: 7.938 kB / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.7401, allocations: 14.44 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.7402, allocations: 27.56 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7402, allocations: 5.125 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7402, allocations: 0 / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7402, allocations: 0 / 1.221 GB, free: 2.039 MB / 0.92 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.0005097/0.7407, allocations: 345.2 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7408, allocations: 14.41 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.7408, allocations: 5.922 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.7409, allocations: 173.4 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.741, allocations: 1.562 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.741, allocations: 5.844 kB / 1.221 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.7411, allocations: 57.67 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.7412, allocations: 0 / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.7412, allocations: 0 / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.7412, allocations: 0.9688 kB / 1.221 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.7413, allocations: 35.42 kB / 1.221 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.7417, allocations: 249.2 kB / 1.221 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.7418, allocations: 39.2 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.7419, allocations: 30 kB / 1.221 GB, free: 1.043 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.7421, allocations: 79.7 kB / 1.221 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.7421, allocations: 32 kB / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7421, allocations: 0 / 1.222 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003659/0.7425, allocations: 89.62 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.7425, allocations: 51.41 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.7426, allocations: 104.9 kB / 1.222 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7426, allocations: 25.7 kB / 1.222 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.7427, allocations: 81.17 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.7427, allocations: 8.984 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.7427, allocations: 15.97 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7428, allocations: 316 kB / 1.222 GB, free: 228 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.903e-05/0.7429, allocations: 21.42 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.175e-05/0.743, allocations: 13.7 kB / 1.222 GB, free: 212 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.7432, allocations: 51.97 kB / 1.222 GB, free: 176 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7432, allocations: 0 / 1.222 GB, free: 176 kB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001981/0.7434, allocations: 60.67 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7434, allocations: 5.812 kB / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7434, allocations: 0 / 1.222 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7434, allocations: 5.328 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.7435, allocations: 5.406 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.7435, allocations: 1.344 kB / 1.222 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.7435, allocations: 14.61 kB / 1.222 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.7435, allocations: 5.688 kB / 1.222 GB, free: 112 kB / 0.92 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 9.762e-05/0.7436, allocations: 122.7 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.7437, allocations: 2.406 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.7439, allocations: 70.56 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7439, allocations: 1.094 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7439, allocations: 8.016 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.7439, allocations: 0 / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.7441, allocations: 162.7 kB / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7441, allocations: 0 / 1.223 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.7442, allocations: 10.48 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.7442, allocations: 1.094 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.7442, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.7442, allocations: 5.078 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7442, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.7445, allocations: 171.3 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.7445, allocations: 78.2 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.7446, allocations: 1.062 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.7446, allocations: 7.078 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.7447, allocations: 5.094 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.7447, allocations: 5 kB / 1.223 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.7447, allocations: 87.52 kB / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.7447, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002397/0.745, allocations: 10.09 kB / 1.223 GB, free: 15.36 MB / 0.9356 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.0001576/0.7451, allocations: 99.55 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.7454, allocations: 45.08 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7454, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.7455, allocations: 19.39 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.7458, allocations: 11 kB / 1.223 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.7461, allocations: 102.3 kB / 1.223 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.7464, allocations: 0.6776 MB / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.661e-05/0.7464, allocations: 2.281 kB / 1.224 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.7464, allocations: 8.75 kB / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.7464, allocations: 0 / 1.224 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.003234/0.7497, allocations: 0.577 MB / 1.225 GB, free: 14.12 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.550227358005941]