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.0009051/0.0009051, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001541/0.001541, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9168/0.9168, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.82/1.82, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.944e-05, allocations: 4.812 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001844/0.001864, allocations: 1.464 MB / 0.9824 GB, free: 1.098 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003472/0.002211, allocations: 191.3 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.002246, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.002275, allocations: 3.938 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.00232, allocations: 8 kB / 0.9826 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.002632, allocations: 39.83 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.002708, allocations: 19.92 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.002814, allocations: 8 kB / 0.9826 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.749e-05/0.002872, allocations: 11.98 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.00291, allocations: 7.984 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.002926, allocations: 0 / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.00302, allocations: 35.97 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.713e-05/0.003037, allocations: 7.922 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.003056, allocations: 4 kB / 0.9827 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.003194, allocations: 47.88 kB / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003196, allocations: 0 / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003197, allocations: 0 / 0.9828 GB, free: 0.7188 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003202, allocations: 4 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 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.0003864/0.003588, allocations: 266.3 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.003631, allocations: 8.031 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.003665, allocations: 38.67 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.003689, allocations: 0.9375 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.00378, allocations: 117.7 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.003792, allocations: 4.375 kB / 0.9832 GB, free: 228 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/0.003802, allocations: 8.375 kB / 0.9832 GB, free: 220 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.003958, allocations: 54.17 kB / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003967, allocations: 192 / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.003976, allocations: 384 / 0.9832 GB, free: 160 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.003982, allocations: 4.125 kB / 0.9832 GB, free: 156 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.004116, allocations: 35.95 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.004436, allocations: 219.9 kB / 0.9835 GB, free: 15.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.004541, allocations: 42.55 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.0046, allocations: 20.91 kB / 0.9835 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.004663, allocations: 4 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.004689, allocations: 38.5 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.00469, allocations: 0 / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.004981, allocations: 85.58 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005015, allocations: 55.53 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.005093, allocations: 97.84 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.005105, allocations: 33.7 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.005139, allocations: 80.14 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.005155, allocations: 3.953 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.00518, allocations: 17.72 kB / 0.9839 GB, free: 15.32 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.005256, allocations: 314.8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.005299, allocations: 11.98 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.751e-05/0.005337, allocations: 19.98 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.005417, allocations: 44.88 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005419, allocations: 0 / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001098/0.005529, allocations: 69.55 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.005543, allocations: 4 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.005548, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.00556, allocations: 0 / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.005627, allocations: 20.02 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005631, allocations: 0 / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.005655, allocations: 7.984 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005659, allocations: 0 / 0.9844 GB, free: 14.82 MB / 0.948 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 5.514e-05/0.005714, allocations: 105.8 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.00573, allocations: 11.89 kB / 0.9845 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.005862, allocations: 68.97 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.005865, allocations: 4 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.005869, allocations: 11.91 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.005872, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.005978, allocations: 124.8 kB / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005979, allocations: 0 / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.006012, allocations: 11.98 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.006016, allocations: 4.188 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.006022, allocations: 0 / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006024, allocations: 4 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006025, allocations: 0 / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.006156, allocations: 163.5 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-06/0.006165, allocations: 11.94 kB / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.006175, allocations: 0 / 0.9849 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.006212, allocations: 11.92 kB / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.006244, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.006247, allocations: 0 / 0.9849 GB, free: 14.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.006275, allocations: 83.27 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006275, allocations: 4 kB / 0.985 GB, free: 14.14 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000165/0.00644, allocations: 19.88 kB / 0.985 GB, free: 14.12 MB / 0.948 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.0003621/0.006802, allocations: 0.7046 MB / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.006927, allocations: 35.95 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006929, allocations: 0 / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.006976, allocations: 19.92 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.007193, allocations: 12.16 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.007521, allocations: 130.6 kB / 0.9859 GB, free: 13.16 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.007561, allocations: 59.36 kB / 0.986 GB, free: 13.08 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.052e-05/0.007582, allocations: 7.969 kB / 0.986 GB, free: 13.07 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.007609, allocations: 12.5 kB / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.007609, allocations: 0 / 0.986 GB, free: 13.06 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.02551, allocations: 2.119 MB / 0.9881 GB, free: 11.07 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.924/6.949, allocations: 2.625 kB / 0.9881 GB, free: 11.07 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.209411078132689]