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.00192/0.00192, allocations: 113 kB / 17.6 MB, free: 4.684 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.002357/0.002357, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 2.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.4 MB / 0.7304 GB, free: 14.05 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001944/0.001944, allocations: 67.89 kB / 1.059 GB, free: 408 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3304, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002613/0.333, allocations: 1.462 MB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000818/0.3338, allocations: 472.8 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3338, allocations: 4 kB / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.3338, allocations: 0 / 1.218 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.152e-05/0.3339, allocations: 7.922 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.3341, allocations: 23.92 kB / 1.218 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.236e-05/0.3342, allocations: 31.86 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.3343, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.528e-05/0.3343, allocations: 8 kB / 1.218 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.3343, allocations: 19.91 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.3344, allocations: 0 / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.3344, allocations: 19.98 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.3344, allocations: 11.98 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.3345, allocations: 11.94 kB / 1.218 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.3346, allocations: 35.77 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3346, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3346, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.3346, allocations: 0 / 1.218 GB, free: 13.25 MB / 0.9669 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.0004811/0.3351, allocations: 343.4 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3351, allocations: 8.031 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.3351, allocations: 12.88 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3353, allocations: 164.4 kB / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.3353, allocations: 384 / 1.219 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3353, allocations: 8.375 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3355, allocations: 49.92 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3355, allocations: 4 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.3355, allocations: 4 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3355, allocations: 0 / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3356, allocations: 31.91 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003226/0.336, allocations: 256.9 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3361, allocations: 34.56 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.3362, allocations: 24.89 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.3363, allocations: 81.11 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3363, allocations: 34.56 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.31e-07/0.3363, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003612/0.3367, allocations: 93.47 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.3367, allocations: 51.41 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.3368, allocations: 105.8 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.3368, allocations: 25.7 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.3369, allocations: 84.27 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.3369, allocations: 11.89 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3369, allocations: 13.72 kB / 1.22 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3371, allocations: 314.8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.3372, allocations: 19.98 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.791e-05/0.3372, allocations: 11.98 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3374, allocations: 52.75 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3374, allocations: 0 / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001899/0.3376, allocations: 65.67 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3376, allocations: 4 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3376, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3376, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.3377, allocations: 16.02 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.3377, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.3377, allocations: 7.984 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3377, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 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 8.111e-05/0.3378, allocations: 109.8 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.3378, allocations: 4 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.3381, allocations: 76.72 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.3381, allocations: 4 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3381, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3381, allocations: 0 / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3382, allocations: 165.8 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.3382, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.3383, allocations: 15.97 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3383, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.3383, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3383, allocations: 3.938 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3383, allocations: 0 / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.3386, allocations: 175.4 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3386, allocations: 77.11 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3386, allocations: 7.938 kB / 1.221 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.3387, allocations: 3.984 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.3387, allocations: 4 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.3387, allocations: 4.031 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.3388, allocations: 83.28 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3388, allocations: 0 / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002242/0.339, allocations: 11.98 kB / 1.221 GB, free: 10.28 MB / 0.9669 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.0001587/0.3392, allocations: 99.19 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.3394, allocations: 35.97 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3394, allocations: 4.062 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.3395, allocations: 27.91 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3397, allocations: 8.078 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.34, allocations: 113.4 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.3403, allocations: 0.6768 MB / 1.222 GB, free: 9.262 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.3403, allocations: 4 kB / 1.222 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.3404, allocations: 15.5 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.3404, allocations: 0 / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of Templates: time 0.002969/0.3433, allocations: 0.5591 MB / 1.222 GB, free: 8.688 MB / 0.9669 GB " [Timeout remaining time 300] 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.242332224734128]