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.001141/0.001141, 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.001162/0.001162, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.991/1.991, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.724e-06/1.724e-06, allocations: 0 / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.691e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002777/0.002804, allocations: 1.49 MB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009643/0.003769, allocations: 0.4894 MB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.003814, allocations: 0 / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.003846, allocations: 3.938 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.003923, allocations: 0.875 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.004149, allocations: 23.92 kB / 0.8147 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.644e-05/0.004226, allocations: 28.95 kB / 0.8148 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.00432, allocations: 3.984 kB / 0.8148 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.004406, allocations: 15.92 kB / 0.8148 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.004444, allocations: 8.531 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.004459, allocations: 4.625 kB / 0.8148 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.00453, allocations: 19.86 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/0.004549, allocations: 9.188 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.004567, allocations: 7.984 kB / 0.8148 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.004679, allocations: 27.95 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004682, allocations: 2.438 kB / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004683, allocations: 0 / 0.8149 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.004687, allocations: 0 / 0.8149 GB, free: 15.31 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.0004074/0.005095, allocations: 364.6 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.005144, allocations: 8.031 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.005185, allocations: 0.9375 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.0053, allocations: 113.1 kB / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005313, allocations: 384 / 0.8153 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.005324, allocations: 5.906 kB / 0.8153 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.005474, allocations: 58.88 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.005485, allocations: 4.125 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.005496, allocations: 8.359 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.005506, allocations: 5.281 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.84e-05/0.005535, allocations: 0 / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.005868, allocations: 236.3 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.005944, allocations: 32.28 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.34e-05/0.005968, allocations: 15.69 kB / 0.8157 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.006072, allocations: 4.531 kB / 0.8157 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.006101, allocations: 37.39 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.006103, allocations: 0.5312 kB / 0.8157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.006282, allocations: 42.5 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.006325, allocations: 55.41 kB / 0.8158 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.006422, allocations: 162.7 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006435, allocations: 25.7 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.006493, allocations: 127.4 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.00652, allocations: 13.33 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.006559, allocations: 19.36 kB / 0.8161 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.006734, allocations: 496.1 kB / 0.8166 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.006763, allocations: 7.922 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.006778, allocations: 1.156 kB / 0.8166 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.006813, allocations: 15.69 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.006816, allocations: 0.7812 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.881e-05/0.006904, allocations: 38.3 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.006923, allocations: 6.656 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.006931, allocations: 4.688 kB / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.006943, allocations: 0 / 0.8167 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.566e-05/0.007029, allocations: 9.172 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.007035, allocations: 4 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.007061, allocations: 3.938 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.007066, allocations: 0.875 kB / 0.8167 GB, free: 13.24 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 9.768e-05/0.007164, allocations: 158.1 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.007193, allocations: 3.953 kB / 0.8169 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.007316, allocations: 48.94 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.007319, allocations: 0 / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.007322, allocations: 1.031 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.007326, allocations: 0 / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.007478, allocations: 105.2 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.00748, allocations: 3.312 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.007528, allocations: 8 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.007531, allocations: 0 / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.007539, allocations: 3.984 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007541, allocations: 0 / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.007544, allocations: 3.938 kB / 0.817 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.007712, allocations: 187.9 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.007722, allocations: 4.203 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.007734, allocations: 0.5 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/0.007797, allocations: 13.92 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.007836, allocations: 3.938 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.00784, allocations: 0 / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.007895, allocations: 127.2 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007895, allocations: 0 / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002756/0.008171, allocations: 11.94 kB / 0.8174 GB, free: 12.52 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.0001679/0.008338, allocations: 100.7 kB / 0.8175 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.988e-05/0.008418, allocations: 16.53 kB / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.008421, allocations: 0 / 0.8175 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.008444, allocations: 16.52 kB / 0.8175 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.008742, allocations: 4 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002809/0.009023, allocations: 119.7 kB / 0.8176 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.482e-05/0.009068, allocations: 63.92 kB / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.009093, allocations: 0 / 0.8177 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.009154, allocations: 76.53 kB / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.009154, allocations: 0 / 0.8177 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.002964/0.01212, allocations: 0.687 MB / 0.8184 GB, free: 11.41 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=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: 5.243357880972326]