Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.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.001148/0.001148, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001042/0.001042, allocations: 161.4 kB / 24.16 MB, free: 332 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.9598/0.9598, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.973/1.973, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.46e-05, allocations: 6.734 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002033/0.002057, allocations: 1.55 MB / 0.7616 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003425/0.0024, allocations: 194.6 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.002431, allocations: 0 / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.002455, allocations: 0 / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.0025, allocations: 13.78 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.002701, allocations: 33.86 kB / 0.7618 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.615e-05/0.002757, allocations: 17.14 kB / 0.7618 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.002824, allocations: 15.97 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.002878, allocations: 8.656 kB / 0.7618 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.981e-05/0.002907, allocations: 10.22 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.002919, allocations: 0 / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.003018, allocations: 39.97 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.003034, allocations: 6.875 kB / 0.7619 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.003048, allocations: 9.297 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.677e-05/0.003145, allocations: 40.77 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003147, allocations: 0 / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003148, allocations: 0.5938 kB / 0.7619 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.003151, allocations: 0.5312 kB / 0.7619 GB, free: 4.652 MB / 0.7136 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.0002614/0.003413, allocations: 246.5 kB / 0.7622 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.003444, allocations: 8.688 kB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.003467, allocations: 4.938 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.003549, allocations: 109.8 kB / 0.7623 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.003559, allocations: 5.344 kB / 0.7623 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.841e-06/0.003564, allocations: 4.375 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.003653, allocations: 58.94 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.003659, allocations: 2.344 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.2e-06/0.003664, allocations: 384 / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.003669, allocations: 384 / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.003687, allocations: 8.688 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.003867, allocations: 144.3 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.655e-05/0.003903, allocations: 27.25 kB / 0.7625 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.003916, allocations: 8.922 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.004143, allocations: 55.59 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.004166, allocations: 39.2 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.004167, allocations: 0.5625 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001007/0.004267, allocations: 36.7 kB / 0.7627 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.004292, allocations: 63.28 kB / 0.7627 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.062e-05/0.004343, allocations: 106.7 kB / 0.7628 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.004351, allocations: 25.7 kB / 0.7629 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.571e-05/0.004377, allocations: 85.34 kB / 0.7629 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.004392, allocations: 7.891 kB / 0.7629 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.004415, allocations: 13.72 kB / 0.763 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.004487, allocations: 318.8 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.004494, allocations: 3.125 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.486e-06/0.004502, allocations: 4 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.004524, allocations: 12.86 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004525, allocations: 0 / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.596e-05/0.004571, allocations: 41.62 kB / 0.7633 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.004582, allocations: 4 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.004586, allocations: 1.812 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.004601, allocations: 0.9844 kB / 0.7633 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.004906, allocations: 7.938 kB / 0.7633 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.004909, allocations: 4 kB / 0.7633 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/0.004927, allocations: 3.984 kB / 0.7633 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.004932, allocations: 3.125 kB / 0.7633 GB, free: 3.078 MB / 0.7136 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 4.595e-05/0.004978, allocations: 109.8 kB / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.004993, allocations: 0 / 0.7635 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.005056, allocations: 45 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005058, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.00506, allocations: 4.703 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005062, allocations: 0 / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.948e-05/0.005142, allocations: 76.62 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.005143, allocations: 0 / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.005165, allocations: 11.94 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005166, allocations: 256 / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-06/0.00517, allocations: 0 / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.005172, allocations: 5.094 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.005174, allocations: 3.984 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.561e-05/0.00524, allocations: 129.1 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-06/0.005246, allocations: 7.984 kB / 0.7637 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.005255, allocations: 3.984 kB / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.842e-05/0.005283, allocations: 0 / 0.7637 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.00531, allocations: 9.281 kB / 0.7637 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.005312, allocations: 0 / 0.7637 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.402e-05/0.005326, allocations: 20.77 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005326, allocations: 0.5312 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001279/0.005454, allocations: 8.656 kB / 0.7638 GB, free: 2.609 MB / 0.7136 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.0001045/0.005558, allocations: 89.2 kB / 0.7639 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.974e-05/0.005608, allocations: 17.66 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.00561, allocations: 0.75 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.005623, allocations: 8.859 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.00575, allocations: 13.25 kB / 0.7639 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002041/0.005955, allocations: 101.8 kB / 0.764 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.853e-05/0.005983, allocations: 51.36 kB / 0.764 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.812e-05/0.006001, allocations: 8.703 kB / 0.764 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.006037, allocations: 51.38 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.006037, allocations: 0.5938 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of Templates: time 0.001995/0.008032, allocations: 0.6233 MB / 0.7647 GB, free: 1.617 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.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.02467970084399]