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.00103/0.00103, allocations: 81.95 kB / 20.68 MB, free: 3.82 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.0009839/0.0009839, allocations: 181 kB / 24.08 MB, free: 424 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 1.006/1.006, allocations: 177.1 MB / 204.5 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.889/1.889, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.913e-06/1.913e-06, allocations: 1.203 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.964e-05, allocations: 2.312 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003168/0.003197, allocations: 1.487 MB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009268/0.004124, allocations: 497.3 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.004178, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.276e-05/0.004211, allocations: 0 / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.802e-05/0.004299, allocations: 7.938 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.004558, allocations: 17.02 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.004643, allocations: 35.8 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.004748, allocations: 4.766 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.004851, allocations: 11.98 kB / 0.814 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.004894, allocations: 13.67 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.004912, allocations: 4 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.004991, allocations: 15.88 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.005011, allocations: 7.984 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.005028, allocations: 4 kB / 0.8141 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.005169, allocations: 29.48 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.005173, allocations: 3.938 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005175, allocations: 0 / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.00518, allocations: 0 / 0.8141 GB, free: 15.33 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.0003918/0.005572, allocations: 366.3 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.005618, allocations: 8.031 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.005653, allocations: 0.9375 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.005748, allocations: 124.5 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.005761, allocations: 0.9062 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.005772, allocations: 4.375 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.005907, allocations: 55.94 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.005914, allocations: 4.188 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.005923, allocations: 0.9062 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.00593, allocations: 5.344 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.005954, allocations: 4 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.00625, allocations: 232.4 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.809e-05/0.006308, allocations: 37.59 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.006325, allocations: 7.688 kB / 0.8149 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.006425, allocations: 11.98 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.006452, allocations: 41.39 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.006453, allocations: 0 / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.006596, allocations: 41.58 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.006626, allocations: 51.94 kB / 0.815 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.006707, allocations: 162.6 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.006721, allocations: 29.7 kB / 0.8152 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.006768, allocations: 127.4 kB / 0.8153 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006787, allocations: 7.953 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.006827, allocations: 29 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.006984, allocations: 492.1 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.006998, allocations: 0 / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.007011, allocations: 4 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.007046, allocations: 12.78 kB / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007048, allocations: 0 / 0.8159 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.219e-05/0.00713, allocations: 46.41 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.007151, allocations: 5.156 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.007158, allocations: 3.938 kB / 0.8159 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.007173, allocations: 7.938 kB / 0.8159 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.007247, allocations: 5.375 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.007252, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.007274, allocations: 0 / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.00728, allocations: 7.984 kB / 0.8159 GB, free: 13.25 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 8.929e-05/0.007369, allocations: 154.2 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.007395, allocations: 7.953 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.007508, allocations: 44.94 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.00751, allocations: 0.9062 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007513, allocations: 4 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.007518, allocations: 0.8438 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.007657, allocations: 101.2 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.00766, allocations: 0 / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.007704, allocations: 10.45 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.007707, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007715, allocations: 4 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007717, allocations: 0 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.00772, allocations: 3.938 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.007874, allocations: 190.7 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.007886, allocations: 7.938 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.007897, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.007949, allocations: 4 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.007989, allocations: 7.922 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.007995, allocations: 4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.008045, allocations: 119.2 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.008045, allocations: 1.469 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002341/0.008279, allocations: 11.94 kB / 0.8166 GB, free: 12.53 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.0001625/0.008442, allocations: 103.2 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.008517, allocations: 21.52 kB / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.008519, allocations: 0 / 0.8167 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.008538, allocations: 11.69 kB / 0.8167 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.0002678/0.008806, allocations: 9.016 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.009086, allocations: 115 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.00913, allocations: 63.2 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.009155, allocations: 12.06 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.009215, allocations: 70.2 kB / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.009216, allocations: 0 / 0.817 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of Templates: time 0.002798/0.01201, allocations: 0.668 MB / 0.8176 GB, free: 11.43 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.102910532150418]