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.0009451/0.0009451, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.000924/0.000924, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9989/0.9989, allocations: 177.1 MB / 204.2 MB, free: 5.617 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.818/1.818, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.583e-06/1.583e-06, allocations: 0 / 0.8115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.096e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002503/0.002524, allocations: 1.492 MB / 0.813 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.00338, allocations: 0.5008 MB / 0.8135 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.003419, allocations: 4.594 kB / 0.8135 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.003453, allocations: 4.984 kB / 0.8135 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.003524, allocations: 3.938 kB / 0.8135 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.003774, allocations: 16.61 kB / 0.8135 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.505e-05/0.003859, allocations: 27.86 kB / 0.8135 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003967, allocations: 5.156 kB / 0.8135 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.004063, allocations: 23.91 kB / 0.8136 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.267e-05/0.004105, allocations: 4 kB / 0.8136 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.004125, allocations: 6.062 kB / 0.8136 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.292e-05/0.004198, allocations: 15.98 kB / 0.8136 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.004215, allocations: 3.938 kB / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.004242, allocations: 11.98 kB / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.004371, allocations: 23.91 kB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.004375, allocations: 5.375 kB / 0.8136 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.475e-06/0.004377, allocations: 3.984 kB / 0.8136 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.004382, allocations: 0 / 0.8136 GB, free: 14.44 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.0004191/0.004801, allocations: 357.7 kB / 0.814 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.004847, allocations: 12.03 kB / 0.814 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.004889, allocations: 4.938 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.004989, allocations: 112.6 kB / 0.8141 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.005002, allocations: 0.9062 kB / 0.8141 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.005014, allocations: 384 / 0.8141 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.005157, allocations: 60.22 kB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.005168, allocations: 192 / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.00518, allocations: 4.375 kB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.00519, allocations: 9.875 kB / 0.8142 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.005223, allocations: 0 / 0.8142 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003123/0.005535, allocations: 251.8 kB / 0.8144 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.56e-05/0.005601, allocations: 35 kB / 0.8144 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.005629, allocations: 9.688 kB / 0.8145 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.005728, allocations: 4.062 kB / 0.8145 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.005756, allocations: 41.31 kB / 0.8145 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.005757, allocations: 4 kB / 0.8145 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.005927, allocations: 45.62 kB / 0.8145 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.005959, allocations: 52 kB / 0.8146 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.006049, allocations: 162.6 kB / 0.8148 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.006062, allocations: 29.7 kB / 0.8148 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.006113, allocations: 127.6 kB / 0.8149 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.006134, allocations: 11.89 kB / 0.8149 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.006169, allocations: 19.91 kB / 0.8149 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.006313, allocations: 497.6 kB / 0.8154 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.796e-05/0.00633, allocations: 4 kB / 0.8154 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.355e-05/0.006344, allocations: 4.062 kB / 0.8154 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.006381, allocations: 16.22 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006383, allocations: 1.375 kB / 0.8154 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.277e-05/0.006456, allocations: 37.64 kB / 0.8155 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.006471, allocations: 11.94 kB / 0.8155 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.006477, allocations: 5.141 kB / 0.8155 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.006493, allocations: 0 / 0.8155 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.006571, allocations: 4 kB / 0.8155 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.006577, allocations: 4.891 kB / 0.8155 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.006602, allocations: 8 kB / 0.8155 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006608, allocations: 0.7812 kB / 0.8155 GB, free: 12.34 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.318e-05/0.006681, allocations: 152.6 kB / 0.8156 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.006708, allocations: 17.06 kB / 0.8157 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.006815, allocations: 45 kB / 0.8157 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006817, allocations: 0 / 0.8157 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00682, allocations: 0.8438 kB / 0.8157 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006823, allocations: 3.938 kB / 0.8157 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.006953, allocations: 118 kB / 0.8158 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.006955, allocations: 0 / 0.8158 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.006993, allocations: 11.98 kB / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006995, allocations: 1.156 kB / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.007003, allocations: 3.938 kB / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.007005, allocations: 0 / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.007006, allocations: 0 / 0.8158 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.00712, allocations: 185.8 kB / 0.816 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.007129, allocations: 4 kB / 0.816 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.00714, allocations: 3.938 kB / 0.816 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.643e-05/0.007197, allocations: 4 kB / 0.816 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.007235, allocations: 6.422 kB / 0.816 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.007238, allocations: 0 / 0.816 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.291e-05/0.007291, allocations: 127.2 kB / 0.8162 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.007291, allocations: 0 / 0.8162 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002584/0.007549, allocations: 8 kB / 0.8162 GB, free: 11.6 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.0001297/0.007679, allocations: 107.7 kB / 0.8163 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.007769, allocations: 17.23 kB / 0.8163 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.007771, allocations: 4 kB / 0.8163 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.007792, allocations: 7.688 kB / 0.8163 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.008075, allocations: 12.5 kB / 0.8163 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000284/0.008359, allocations: 115.6 kB / 0.8164 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.506e-05/0.008404, allocations: 59.34 kB / 0.8165 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.008424, allocations: 4.656 kB / 0.8165 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.008452, allocations: 13.16 kB / 0.8165 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.008452, allocations: 0 / 0.8165 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.002843/0.0113, allocations: 0.6145 MB / 0.8171 GB, free: 10.62 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.999745030887425]