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.001424/0.001424, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001597/0.001597, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.513/1.513, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 2.852/2.852, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.834e-06/1.834e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.884e-05/4.068e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002782/0.002823, allocations: 1.463 MB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009366/0.003759, allocations: 472.2 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.003792, allocations: 0 / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.00382, allocations: 5.031 kB / 0.8127 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-05/0.003889, allocations: 11.92 kB / 0.8127 GB, free: 148 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.0041, allocations: 25.47 kB / 0.8127 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.387e-05/0.004174, allocations: 23.94 kB / 0.8128 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.004253, allocations: 3.984 kB / 0.8128 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.004332, allocations: 11.94 kB / 0.8128 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.004372, allocations: 13.52 kB / 0.8128 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.004389, allocations: 4 kB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.984e-05/0.004459, allocations: 15.97 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.004475, allocations: 4 kB / 0.8128 GB, free: 48 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.0045, allocations: 9.188 kB / 0.8128 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.004618, allocations: 39.81 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.00462, allocations: 0 / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of FrontEnd: time 6.71e-07/0.00462, allocations: 4.047 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.004624, allocations: 0.625 kB / 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.0004573/0.005081, allocations: 263.2 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.005119, allocations: 12.03 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.00516, allocations: 5.688 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.005281, allocations: 109.8 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.005293, allocations: 1 kB / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.005301, allocations: 384 / 0.8132 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.005488, allocations: 51.55 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005496, allocations: 192 / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.005508, allocations: 4.375 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.005516, allocations: 5.688 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.005697, allocations: 35.89 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.006029, allocations: 201.9 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.006167, allocations: 38.5 kB / 0.8136 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.006266, allocations: 21.47 kB / 0.8136 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-05/0.006365, allocations: 8.547 kB / 0.8136 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.006401, allocations: 39.72 kB / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.006402, allocations: 0 / 0.8136 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0004075/0.006809, allocations: 86.83 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.006853, allocations: 51.41 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.695e-05/0.00695, allocations: 99.92 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.006971, allocations: 29.7 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.007025, allocations: 84.12 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.007042, allocations: 3.953 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.007081, allocations: 17.72 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.007241, allocations: 311.4 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.007332, allocations: 20.7 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.139e-05/0.007414, allocations: 17.48 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.007577, allocations: 41.58 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007578, allocations: 0 / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002288/0.007807, allocations: 71.88 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.007823, allocations: 7.938 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.007827, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.007844, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.007933, allocations: 17.19 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.007938, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.007988, allocations: 10.31 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.007993, allocations: 0 / 0.8145 GB, free: 14.21 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.0001807/0.008174, allocations: 117.8 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.008205, allocations: 11.89 kB / 0.8146 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.008448, allocations: 76.34 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.008451, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008454, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.008456, allocations: 0 / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.008605, allocations: 105.3 kB / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008607, allocations: 0 / 0.8148 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.154e-05/0.008678, allocations: 8 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.00868, allocations: 0 / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.00869, allocations: 12.73 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.008692, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.008693, allocations: 0 / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.008976, allocations: 173.1 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.008983, allocations: 0 / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.008997, allocations: 4.875 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.009076, allocations: 4 kB / 0.8149 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.009114, allocations: 4.578 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.009117, allocations: 4.5 kB / 0.815 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.009174, allocations: 83.28 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009174, allocations: 1.594 kB / 0.815 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002252/0.009399, allocations: 4 kB / 0.815 GB, free: 13.56 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.0001577/0.009557, allocations: 99.23 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.009777, allocations: 38 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009779, allocations: 0 / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.853e-05/0.009877, allocations: 28.5 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01017, allocations: 10.33 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.01047, allocations: 117.7 kB / 0.8153 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.698e-05/0.01054, allocations: 59.34 kB / 0.8154 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.01057, allocations: 7.969 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.0106, allocations: 8.5 kB / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.0106, allocations: 0 / 0.8154 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.003206/0.01381, allocations: 0.6098 MB / 0.816 GB, free: 12.57 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] 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: 7.566286094021052]