Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.001307/0.001307, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001089/0.001089, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.925/1.925, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.866e-05, allocations: 7.672 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001794/0.001813, allocations: 1.516 MB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.002549, allocations: 0.5936 MB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.0026, allocations: 0.875 kB / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.002623, allocations: 0 / 0.8148 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.00267, allocations: 8.969 kB / 0.8149 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.002914, allocations: 63.75 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/0.003003, allocations: 37.41 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.164e-05/0.003074, allocations: 0 / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.003172, allocations: 27.86 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.005e-05/0.003212, allocations: 11.98 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.003223, allocations: 5.469 kB / 0.815 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.003317, allocations: 55.94 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.003327, allocations: 4 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.577e-05/0.003343, allocations: 15.92 kB / 0.8151 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003462, allocations: 73.06 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.003464, allocations: 0 / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.71e-07/0.003465, allocations: 0 / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.003467, allocations: 0 / 0.8151 GB, free: 15.04 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.000555/0.004022, allocations: 373.7 kB / 0.8155 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.004052, allocations: 8.031 kB / 0.8155 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.42e-05/0.004147, allocations: 17.41 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.00426, allocations: 134.5 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.004268, allocations: 384 / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-06/0.004273, allocations: 384 / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.004346, allocations: 50.89 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.004354, allocations: 4.188 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-06/0.004359, allocations: 384 / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.004364, allocations: 4.469 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.805e-05/0.004382, allocations: 4.719 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.004564, allocations: 236.4 kB / 0.8159 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.286e-05/0.004607, allocations: 32.5 kB / 0.816 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.004621, allocations: 11.67 kB / 0.816 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.004893, allocations: 81.58 kB / 0.8161 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.004913, allocations: 38.14 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.004914, allocations: 0 / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001206/0.005035, allocations: 42.25 kB / 0.8161 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.005062, allocations: 52.72 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.005132, allocations: 169.9 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005142, allocations: 33.64 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.005184, allocations: 130.8 kB / 0.8165 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.0052, allocations: 9.703 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.005225, allocations: 19.36 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.005334, allocations: 0.4923 MB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.005343, allocations: 0 / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.005353, allocations: 5.281 kB / 0.817 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/0.005376, allocations: 11.69 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005378, allocations: 0 / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.202e-05/0.00543, allocations: 38.66 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005441, allocations: 4 kB / 0.8171 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005446, allocations: 6.25 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.005454, allocations: 4 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.08e-05/0.005495, allocations: 15.86 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.005498, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.287e-05/0.005511, allocations: 0 / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-06/0.005514, allocations: 0 / 0.8171 GB, free: 12.85 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 5.64e-05/0.005571, allocations: 164 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.005587, allocations: 3.953 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.808e-05/0.005665, allocations: 45.25 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.005667, allocations: 4 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.005669, allocations: 0 / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005672, allocations: 0 / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.777e-05/0.005759, allocations: 105.2 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.00576, allocations: 0 / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.00578, allocations: 4.875 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.005782, allocations: 4 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.005786, allocations: 0.5 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.005788, allocations: 7.922 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.005789, allocations: 8.5 kB / 0.8174 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.192e-05/0.005861, allocations: 176.5 kB / 0.8176 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.005869, allocations: 13.16 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.005879, allocations: 7.984 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.005905, allocations: 0 / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.005927, allocations: 8.656 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.005929, allocations: 0 / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.005963, allocations: 128 kB / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005963, allocations: 0 / 0.8177 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001507/0.006114, allocations: 15.94 kB / 0.8178 GB, free: 12.12 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.000107/0.006221, allocations: 116.1 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.802e-05/0.006279, allocations: 20.88 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.00628, allocations: 0 / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.006296, allocations: 20.83 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.006433, allocations: 2.109 kB / 0.8179 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.006743, allocations: 138.2 kB / 0.818 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.006774, allocations: 67.14 kB / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.512e-05/0.006789, allocations: 0 / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.006822, allocations: 70.2 kB / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.006823, allocations: 0 / 0.8182 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of Templates: time 0.002097/0.008919, allocations: 0.7834 MB / 0.8189 GB, free: 10.87 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.243584418203682]