Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001466/0.001466, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001533/0.001533, allocations: 173 kB / 23.49 MB, free: 1.059 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.9239/0.9239, allocations: 177.1 MB / 203.8 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.077/2.077, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.633e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001809/0.001825, allocations: 1.5 MB / 0.8797 GB, free: 5.168 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003413/0.002166, allocations: 185.4 kB / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.002205, allocations: 0 / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.002231, allocations: 7.938 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.002275, allocations: 2.875 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.002538, allocations: 39.83 kB / 0.8799 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.261e-05/0.002611, allocations: 25.39 kB / 0.8799 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.002706, allocations: 8 kB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.002759, allocations: 11.98 kB / 0.8799 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.502e-05/0.002794, allocations: 8.641 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.00281, allocations: 0 / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.00289, allocations: 40.61 kB / 0.88 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.002905, allocations: 3.938 kB / 0.88 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.002923, allocations: 11.62 kB / 0.88 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003043, allocations: 43.88 kB / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.003046, allocations: 0 / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003046, allocations: 0 / 0.88 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.00305, allocations: 0 / 0.88 GB, free: 4.797 MB / 0.8386 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.0003493/0.003399, allocations: 364.6 kB / 0.8804 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.003432, allocations: 8.031 kB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.00347, allocations: 8.891 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.003559, allocations: 112.6 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.003571, allocations: 2.031 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.003579, allocations: 4.375 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.003697, allocations: 54.95 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.003703, allocations: 192 / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003712, allocations: 1.375 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.003719, allocations: 4.312 kB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.003747, allocations: 7.938 kB / 0.8806 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.00401, allocations: 248.9 kB / 0.8808 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.004055, allocations: 27.06 kB / 0.8808 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.226e-05/0.004077, allocations: 13.34 kB / 0.8808 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.002e-05/0.004137, allocations: 11.92 kB / 0.8809 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.004162, allocations: 45.33 kB / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.004163, allocations: 0 / 0.8809 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001349/0.004298, allocations: 40.2 kB / 0.8809 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.004325, allocations: 51.41 kB / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.004402, allocations: 165.9 kB / 0.8811 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.004411, allocations: 25.7 kB / 0.8812 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.004457, allocations: 134.8 kB / 0.8813 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.004476, allocations: 7.891 kB / 0.8813 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.004505, allocations: 25.33 kB / 0.8813 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.004621, allocations: 496.1 kB / 0.8818 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.004635, allocations: 4.25 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-06/0.004644, allocations: 0 / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.004673, allocations: 20.34 kB / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004674, allocations: 0 / 0.8818 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.111e-05/0.004726, allocations: 47.34 kB / 0.8819 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.004738, allocations: 4 kB / 0.8819 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.004743, allocations: 3.938 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.004757, allocations: 0 / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.004817, allocations: 4.5 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.004822, allocations: 1.031 kB / 0.8819 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.004838, allocations: 7.984 kB / 0.8819 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.004842, allocations: 0 / 0.8819 GB, free: 2.688 MB / 0.8386 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 6.08e-05/0.004903, allocations: 160.8 kB / 0.882 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.004915, allocations: 3.938 kB / 0.8821 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.441e-05/0.004999, allocations: 52.92 kB / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005001, allocations: 0 / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.005004, allocations: 0 / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005008, allocations: 0 / 0.8821 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.00511, allocations: 116.6 kB / 0.8822 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.00511, allocations: 4 kB / 0.8822 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.00513, allocations: 4 kB / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005131, allocations: 0 / 0.8822 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.005138, allocations: 4.031 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.005139, allocations: 3.938 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.00514, allocations: 0 / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.005229, allocations: 199.8 kB / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.005234, allocations: 0 / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.005242, allocations: 0 / 0.8824 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.033e-05/0.005273, allocations: 7.938 kB / 0.8824 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.005305, allocations: 3.984 kB / 0.8824 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.005308, allocations: 4 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.35e-05/0.005341, allocations: 123.2 kB / 0.8826 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005341, allocations: 8.031 kB / 0.8826 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000151/0.005492, allocations: 8 kB / 0.8826 GB, free: 1.926 MB / 0.8386 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.0001101/0.005602, allocations: 107.2 kB / 0.8827 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.059e-05/0.005673, allocations: 15.69 kB / 0.8827 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005675, allocations: 0 / 0.8827 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.005693, allocations: 19.62 kB / 0.8827 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.005863, allocations: 4.172 kB / 0.8827 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.006106, allocations: 118.4 kB / 0.8828 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.006142, allocations: 59.36 kB / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.006158, allocations: 0 / 0.8829 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.125e-05/0.006179, allocations: 8.5 kB / 0.8829 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of SimCode: time 7.31e-07/0.00618, allocations: 0 / 0.8829 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of Templates: time 0.002135/0.008315, allocations: 0.6295 MB / 0.8835 GB, free: 0.9141 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.327045511920005]