Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001494/0.001494, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001115/0.001115, allocations: 161.4 kB / 24.16 MB, free: 336 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.003/1.003, allocations: 177.2 MB / 204.6 MB, free: 5.461 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.983/1.983, allocations: 377.9 MB / 0.624 GB, free: 8.324 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.228e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001472/0.001495, allocations: 0.6743 MB / 0.7608 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003304/0.001825, allocations: 157.3 kB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.001851, allocations: 0 / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.001865, allocations: 4.531 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.061e-05/0.001886, allocations: 1.156 kB / 0.7609 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.002137, allocations: 36.72 kB / 0.761 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.897e-05/0.002186, allocations: 12.84 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.002224, allocations: 5.031 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.871e-05/0.002263, allocations: 13.52 kB / 0.761 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.002333, allocations: 9.766 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.002347, allocations: 0.9844 kB / 0.761 GB, free: 5.664 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.002449, allocations: 39.95 kB / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.002463, allocations: 0 / 0.761 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.409e-05/0.002477, allocations: 5.094 kB / 0.761 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.002579, allocations: 42.02 kB / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002581, allocations: 0 / 0.7611 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.002582, allocations: 4 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.002587, allocations: 0 / 0.7611 GB, free: 5.578 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002639/0.002851, allocations: 234.5 kB / 0.7613 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.002884, allocations: 8.875 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.002909, allocations: 0.9375 kB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.002988, allocations: 110.5 kB / 0.7614 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.002999, allocations: 4.359 kB / 0.7614 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.003019, allocations: 4.969 kB / 0.7614 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.885e-05/0.003108, allocations: 63.95 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.003116, allocations: 4.938 kB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.003123, allocations: 384 / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.003129, allocations: 6.531 kB / 0.7615 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.003153, allocations: 11.88 kB / 0.7615 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.906e-05/0.003252, allocations: 65.05 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.774e-05/0.00332, allocations: 35.33 kB / 0.7616 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.003338, allocations: 21.03 kB / 0.7616 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.003574, allocations: 63.14 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.003594, allocations: 33 kB / 0.7617 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/0.003596, allocations: 0.6562 kB / 0.7617 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000805/0.004401, allocations: 406.9 kB / 0.7621 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.004423, allocations: 51.41 kB / 0.7622 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.004471, allocations: 104.1 kB / 0.7623 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.004481, allocations: 26.58 kB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.004503, allocations: 84.12 kB / 0.7624 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.004529, allocations: 30.55 kB / 0.7624 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.00456, allocations: 13.72 kB / 0.7624 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.004636, allocations: 322.8 kB / 0.7627 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.004648, allocations: 7.984 kB / 0.7627 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.004659, allocations: 4 kB / 0.7627 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.004696, allocations: 33 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.004697, allocations: 0.7656 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.981e-05/0.004757, allocations: 60.36 kB / 0.7628 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.00477, allocations: 7.984 kB / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.004774, allocations: 0 / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.004785, allocations: 0 / 0.7628 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.803e-05/0.004833, allocations: 12 kB / 0.7628 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.004837, allocations: 4 kB / 0.7628 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.349e-05/0.00485, allocations: 11.66 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.004855, allocations: 3.938 kB / 0.7629 GB, free: 3.582 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 (8): * Single equations (assignments): 8 * 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 5.309e-05/0.004908, allocations: 117.8 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.004915, allocations: 0 / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.005016, allocations: 65.58 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005017, allocations: 0.875 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.005019, allocations: 0 / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005022, allocations: 0.8438 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.673e-05/0.005088, allocations: 81.81 kB / 0.7631 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.00509, allocations: 4 kB / 0.7631 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.005136, allocations: 12.75 kB / 0.7631 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.005138, allocations: 4 kB / 0.7631 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.005144, allocations: 1.469 kB / 0.7631 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.005145, allocations: 0.7188 kB / 0.7631 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.005147, allocations: 3.984 kB / 0.7631 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/0.00524, allocations: 98.47 kB / 0.7632 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.005247, allocations: 7.984 kB / 0.7632 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.005255, allocations: 0 / 0.7632 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.005272, allocations: 4 kB / 0.7632 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.286e-05/0.005285, allocations: 9.109 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.005289, allocations: 0.7656 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.376e-06/0.005297, allocations: 9.703 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005297, allocations: 0 / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001656/0.005463, allocations: 35.92 kB / 0.7633 GB, free: 3.082 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001497/0.005613, allocations: 113.8 kB / 0.7634 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.00568, allocations: 29.48 kB / 0.7634 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.005684, allocations: 8.625 kB / 0.7634 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.923e-05/0.005703, allocations: 25.97 kB / 0.7635 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.316e-05/0.005766, allocations: 3.938 kB / 0.7635 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.006, allocations: 132.7 kB / 0.7636 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.006033, allocations: 63.22 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.854e-05/0.006061, allocations: 4.547 kB / 0.7637 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.00611, allocations: 59.36 kB / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.00611, allocations: 0 / 0.7637 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of Templates: time 0.003428/0.009538, allocations: 1.004 MB / 0.7647 GB, free: 1.645 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.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.098649502266198]