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.001153/0.001153, 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.001288/0.001288, allocations: 161 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 0.993/0.993, 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.81/1.81, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.242e-06/1.242e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.476e-05, allocations: 5.406 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001371/0.001396, allocations: 0.6357 MB / 0.7607 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003764/0.001772, allocations: 157.9 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.001802, allocations: 0 / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.00182, allocations: 0.6562 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.399e-05/0.001844, allocations: 0.7188 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.002173, allocations: 44.48 kB / 0.7609 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.976e-05/0.002232, allocations: 13.39 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.002276, allocations: 0.9375 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.907e-05/0.002315, allocations: 13.08 kB / 0.7609 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.002395, allocations: 8.531 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.002411, allocations: 0.5938 kB / 0.7609 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.73e-05/0.002489, allocations: 36.72 kB / 0.7609 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.002507, allocations: 1.531 kB / 0.761 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.002527, allocations: 13.19 kB / 0.761 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.002631, allocations: 37.2 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.002634, allocations: 0 / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002635, allocations: 0 / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.002639, allocations: 1.281 kB / 0.761 GB, free: 5.668 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.0002894/0.002929, allocations: 233.5 kB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.002962, allocations: 8.031 kB / 0.7612 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.002992, allocations: 5.719 kB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.003068, allocations: 105.8 kB / 0.7613 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.003079, allocations: 5.188 kB / 0.7613 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.0031, allocations: 384 / 0.7613 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/0.003187, allocations: 73.27 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003194, allocations: 192 / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.003201, allocations: 1.141 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.003207, allocations: 1.625 kB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.003231, allocations: 15.92 kB / 0.7614 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.298e-05/0.003324, allocations: 61.05 kB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.932e-05/0.003393, allocations: 43.69 kB / 0.7615 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.003411, allocations: 13.05 kB / 0.7615 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.003656, allocations: 62.77 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.003681, allocations: 40.95 kB / 0.7616 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.003682, allocations: 0 / 0.7616 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000799/0.004481, allocations: 405.7 kB / 0.762 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.004514, allocations: 55.41 kB / 0.7621 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.561e-05/0.00457, allocations: 106.7 kB / 0.7622 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.00458, allocations: 25.7 kB / 0.7622 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.004601, allocations: 80.8 kB / 0.7623 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.00463, allocations: 27.75 kB / 0.7623 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.004662, allocations: 27.19 kB / 0.7623 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.004747, allocations: 318.7 kB / 0.7626 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.004758, allocations: 4 kB / 0.7626 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.004773, allocations: 11.98 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.004813, allocations: 30.41 kB / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.004814, allocations: 0 / 0.7627 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.985e-05/0.004874, allocations: 50.67 kB / 0.7627 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.004885, allocations: 4 kB / 0.7627 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.004889, allocations: 0.8281 kB / 0.7627 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.004901, allocations: 4 kB / 0.7627 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.78e-05/0.004958, allocations: 17.02 kB / 0.7628 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.004962, allocations: 5.984 kB / 0.7628 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.004974, allocations: 7.938 kB / 0.7628 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.004979, allocations: 4.766 kB / 0.7628 GB, free: 3.664 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.551e-05/0.005034, allocations: 113.8 kB / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.005041, allocations: 0 / 0.7629 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.751e-05/0.005138, allocations: 68.06 kB / 0.7629 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.00514, allocations: 0 / 0.7629 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.005141, allocations: 0 / 0.7629 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005144, allocations: 3.938 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.94e-05/0.005213, allocations: 78.81 kB / 0.763 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005214, allocations: 4 kB / 0.763 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/0.005257, allocations: 14.23 kB / 0.763 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.005259, allocations: 0 / 0.763 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.005264, allocations: 4 kB / 0.763 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005265, allocations: 0 / 0.763 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.005266, allocations: 0 / 0.763 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.98e-05/0.005366, allocations: 96.97 kB / 0.7631 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.005371, allocations: 1.031 kB / 0.7631 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.005381, allocations: 9.297 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.005402, allocations: 4.938 kB / 0.7632 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.005417, allocations: 4 kB / 0.7632 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.005423, allocations: 3.984 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.206e-06/0.005432, allocations: 6.703 kB / 0.7632 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005432, allocations: 0 / 0.7632 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001295/0.005561, allocations: 31.94 kB / 0.7632 GB, free: 3.18 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.000173/0.005734, allocations: 109.2 kB / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.008e-05/0.005814, allocations: 36.83 kB / 0.7633 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.005818, allocations: 4.594 kB / 0.7633 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.878e-05/0.005836, allocations: 26.48 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.359e-05/0.00591, allocations: 3.938 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.006174, allocations: 137.3 kB / 0.7635 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.006212, allocations: 56.05 kB / 0.7636 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.006245, allocations: 9.141 kB / 0.7636 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.006293, allocations: 55.97 kB / 0.7636 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.006293, allocations: 1.5 kB / 0.7636 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.002631/0.008925, allocations: 1.012 MB / 0.7646 GB, free: 1.734 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 -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: 4.858913199044764]