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.001109/0.001109, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001313/0.001313, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8949/0.8949, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.801/1.801, allocations: 377.8 MB / 0.6228 GB, free: 8.68 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: 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.503e-06/1.503e-06, allocations: 0 / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.006e-05, allocations: 4.812 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002051/0.002081, allocations: 1.475 MB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000343/0.002424, allocations: 183.3 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.002457, allocations: 0 / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.002484, allocations: 3.938 kB / 0.9838 GB, free: 464 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.04e-05/0.002525, allocations: 3.938 kB / 0.9838 GB, free: 460 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.002803, allocations: 39.91 kB / 0.9839 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.421e-05/0.002867, allocations: 27.91 kB / 0.9839 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.002954, allocations: 4 kB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.003002, allocations: 11.98 kB / 0.9839 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.003035, allocations: 7.938 kB / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.003049, allocations: 0 / 0.9839 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.003124, allocations: 35.95 kB / 0.9839 GB, free: 332 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.003139, allocations: 11.94 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.003155, allocations: 0 / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.003274, allocations: 51.8 kB / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003277, allocations: 0 / 0.984 GB, free: 268 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/0.003278, allocations: 4 kB / 0.984 GB, free: 264 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.003282, allocations: 0 / 0.984 GB, free: 264 kB / 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.0003618/0.003644, allocations: 270.2 kB / 0.9843 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.003684, allocations: 12.03 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.003716, allocations: 4.891 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.003794, allocations: 113.8 kB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.003804, allocations: 384 / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.003812, allocations: 384 / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.003946, allocations: 50.23 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.003952, allocations: 4.188 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.003962, allocations: 384 / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.003968, allocations: 4.375 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.004056, allocations: 35.84 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.004312, allocations: 192.6 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.004394, allocations: 38.56 kB / 0.9847 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.004439, allocations: 20.89 kB / 0.9847 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.731e-05/0.004497, allocations: 11.94 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.004515, allocations: 34.56 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.004517, allocations: 0 / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002247/0.004741, allocations: 89.47 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.00477, allocations: 51.41 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.00483, allocations: 105.8 kB / 0.985 GB, free: 15.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.004838, allocations: 25.7 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.673e-05/0.004875, allocations: 92.25 kB / 0.9851 GB, free: 14.97 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.004892, allocations: 7.953 kB / 0.9851 GB, free: 14.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.004915, allocations: 9.719 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.098e-05/0.004996, allocations: 318.8 kB / 0.9854 GB, free: 14.63 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-05/0.005042, allocations: 15.97 kB / 0.9854 GB, free: 14.61 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.005078, allocations: 15.98 kB / 0.9855 GB, free: 14.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.957e-05/0.005157, allocations: 40.77 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005159, allocations: 8 kB / 0.9855 GB, free: 14.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.005264, allocations: 65.66 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.005278, allocations: 4 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.005285, allocations: 3.938 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.0053, allocations: 4 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.00536, allocations: 7.984 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005365, allocations: 0 / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.00539, allocations: 12.03 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.005395, allocations: 0 / 0.9856 GB, free: 14.45 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.445e-05/0.00545, allocations: 113.8 kB / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.005462, allocations: 0 / 0.9857 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.005617, allocations: 84.8 kB / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005619, allocations: 0 / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.005623, allocations: 0 / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.005625, allocations: 0 / 0.9858 GB, free: 14.24 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.997e-05/0.005715, allocations: 105.6 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.005719, allocations: 16.02 kB / 0.9859 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.005746, allocations: 7.984 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.005748, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005754, allocations: 0 / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.005758, allocations: 3.938 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005758, allocations: 4 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.00589, allocations: 159.5 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-06/0.005897, allocations: 3.938 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.005907, allocations: 4.031 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.005945, allocations: 11.92 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.00598, allocations: 8 kB / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.005983, allocations: 0 / 0.9861 GB, free: 13.88 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.00601, allocations: 83.22 kB / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00601, allocations: 0 / 0.9862 GB, free: 13.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00016/0.00617, allocations: 8 kB / 0.9862 GB, free: 13.79 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.0001389/0.006309, allocations: 111.8 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.00644, allocations: 35.97 kB / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006442, allocations: 0 / 0.9863 GB, free: 13.63 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.139e-05/0.006483, allocations: 19.97 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.006711, allocations: 18.53 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.006968, allocations: 130.6 kB / 0.9865 GB, free: 13.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.158e-05/0.007009, allocations: 59.34 kB / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.007031, allocations: 8.625 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/0.007031, allocations: 8 kB / 0.9866 GB, free: 13.34 MB / 0.948 GB Notification: Performance of Templates: time 0.001613/0.008644, allocations: 0.6758 MB / 0.9872 GB, free: 12.67 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/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: 6.620444721542299]