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.0009577/0.0009577, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001044/0.001044, allocations: 173 kB / 24.28 MB, free: 276 kB / 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 0.9586/0.9586, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.902/1.902, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.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.864e-06/1.864e-06, allocations: 0 / 0.8115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.651e-05, allocations: 3.312 kB / 0.8115 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001762/0.001778, allocations: 1.489 MB / 0.813 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006137/0.002392, allocations: 0.4973 MB / 0.8135 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.002423, allocations: 0.9062 kB / 0.8135 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.002447, allocations: 3.984 kB / 0.8135 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.002512, allocations: 8.531 kB / 0.8135 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.002716, allocations: 17.42 kB / 0.8135 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.002782, allocations: 23.92 kB / 0.8135 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.209e-05/0.002864, allocations: 7.984 kB / 0.8135 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.002943, allocations: 19.86 kB / 0.8135 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.41e-05/0.002978, allocations: 8.875 kB / 0.8136 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.002993, allocations: 4 kB / 0.8136 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.859e-05/0.003062, allocations: 12.89 kB / 0.8136 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.003079, allocations: 4 kB / 0.8136 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.003102, allocations: 17.61 kB / 0.8136 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.003216, allocations: 23.91 kB / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003218, allocations: 0 / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003219, allocations: 0 / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.003224, allocations: 0 / 0.8136 GB, free: 14.78 MB / 0.7292 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.000427/0.003651, allocations: 365.8 kB / 0.814 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.003696, allocations: 12.03 kB / 0.814 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.003736, allocations: 0.9375 kB / 0.814 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.003834, allocations: 112.6 kB / 0.8141 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003846, allocations: 2.125 kB / 0.8141 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.003855, allocations: 4.312 kB / 0.8141 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.003991, allocations: 54.94 kB / 0.8141 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.003999, allocations: 192 / 0.8141 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.004015, allocations: 1.469 kB / 0.8141 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.004025, allocations: 7.938 kB / 0.8141 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.004056, allocations: 0 / 0.8141 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.004363, allocations: 256.8 kB / 0.8144 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.004417, allocations: 35 kB / 0.8144 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.004441, allocations: 12.58 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.228e-05/0.004523, allocations: 4.062 kB / 0.8144 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.004549, allocations: 51.5 kB / 0.8145 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.00455, allocations: 0 / 0.8145 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.004706, allocations: 37.7 kB / 0.8145 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.004738, allocations: 55.34 kB / 0.8146 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.00482, allocations: 165.9 kB / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.004831, allocations: 26.23 kB / 0.8148 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.004879, allocations: 126.9 kB / 0.8149 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.0049, allocations: 8.609 kB / 0.8149 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.004928, allocations: 23.38 kB / 0.8149 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.005056, allocations: 496.6 kB / 0.8154 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.005073, allocations: 5.594 kB / 0.8154 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.036e-05/0.005083, allocations: 0 / 0.8154 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.005112, allocations: 15.94 kB / 0.8154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.005114, allocations: 0.625 kB / 0.8154 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.588e-05/0.00517, allocations: 42.52 kB / 0.8155 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.005185, allocations: 11.88 kB / 0.8155 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.00519, allocations: 0.5625 kB / 0.8155 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.005206, allocations: 3.984 kB / 0.8155 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.005277, allocations: 4.594 kB / 0.8155 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.005284, allocations: 0.6875 kB / 0.8155 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.721e-05/0.005301, allocations: 4 kB / 0.8155 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.005306, allocations: 1.375 kB / 0.8155 GB, free: 12.68 MB / 0.7292 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 7.269e-05/0.005378, allocations: 160.6 kB / 0.8156 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.005394, allocations: 11.88 kB / 0.8156 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.399e-05/0.005478, allocations: 41.83 kB / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.005482, allocations: 3.984 kB / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005486, allocations: 0.9375 kB / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.00549, allocations: 0 / 0.8157 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.166e-05/0.005582, allocations: 109.9 kB / 0.8158 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005583, allocations: 0 / 0.8158 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.005605, allocations: 15.92 kB / 0.8158 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005606, allocations: 0.9688 kB / 0.8158 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.005614, allocations: 3.938 kB / 0.8158 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.005615, allocations: 0 / 0.8158 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.005617, allocations: 6.266 kB / 0.8158 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.957e-05/0.005706, allocations: 187.9 kB / 0.816 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.005711, allocations: 3.938 kB / 0.816 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.005722, allocations: 3.938 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.027e-05/0.005752, allocations: 8 kB / 0.816 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.005791, allocations: 7.266 kB / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.005792, allocations: 0 / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.005826, allocations: 123.2 kB / 0.8161 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005826, allocations: 0 / 0.8161 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001537/0.00598, allocations: 8 kB / 0.8161 GB, free: 11.93 MB / 0.7292 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.0001108/0.00609, allocations: 103.2 kB / 0.8162 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.853e-05/0.006169, allocations: 27.61 kB / 0.8163 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006171, allocations: 1.062 kB / 0.8163 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.006187, allocations: 11.69 kB / 0.8163 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.006375, allocations: 8.438 kB / 0.8163 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.006632, allocations: 111.4 kB / 0.8164 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.00667, allocations: 60.44 kB / 0.8165 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.713e-05/0.006687, allocations: 0 / 0.8165 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.00671, allocations: 13.59 kB / 0.8165 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/0.00671, allocations: 0 / 0.8165 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of Templates: time 0.002147/0.008857, allocations: 0.6286 MB / 0.8171 GB, free: 10.95 MB / 0.7292 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.892094655893743]