Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.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.0007576/0.0007576, 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.001151/0.001151, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.9006/0.9006, allocations: 177.2 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.833/1.833, allocations: 377.9 MB / 0.6229 GB, free: 8.648 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.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoMax.u1|smoMax.u2|smoMax.y|max.y|smoMin.y|Min.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.422e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003067/0.003101, allocations: 1.762 MB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004403, allocations: 0.7008 MB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.006e-05/0.004493, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.603e-05/0.004539, allocations: 11.86 kB / 0.9846 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.004619, allocations: 19.75 kB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006813/0.0053, allocations: 194.6 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.005528, allocations: 119.6 kB / 0.9849 GB, free: 15.26 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.005701, allocations: 37.59 kB / 0.985 GB, free: 15.22 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.005922, allocations: 87.8 kB / 0.9851 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.00601, allocations: 39.88 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.006038, allocations: 8 kB / 0.9851 GB, free: 15.09 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.006161, allocations: 55.89 kB / 0.9852 GB, free: 15.03 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.006198, allocations: 31.91 kB / 0.9852 GB, free: 15 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.006244, allocations: 35.91 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.006527, allocations: 179.4 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.006532, allocations: 0 / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006533, allocations: 0 / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.006538, allocations: 4 kB / 0.9854 GB, free: 14.79 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005941/0.007133, allocations: 369.6 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.007175, allocations: 12.03 kB / 0.9858 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/0.007913, allocations: 132.6 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.008221, allocations: 146.1 kB / 0.986 GB, free: 14.09 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.008336, allocations: 119.4 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.008357, allocations: 8.375 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.008805, allocations: 225.2 kB / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.008815, allocations: 0 / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.008837, allocations: 0 / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.008844, allocations: 4 kB / 0.9864 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.009282, allocations: 159.8 kB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.01014, allocations: 413.7 kB / 0.9869 GB, free: 13.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.01086, allocations: 210.3 kB / 0.9871 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.01108, allocations: 76.91 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.01111, allocations: 4 kB / 0.9872 GB, free: 12.81 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.01114, allocations: 34.56 kB / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.01114, allocations: 0 / 0.9872 GB, free: 12.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0007877/0.01193, allocations: 261.4 kB / 0.9875 GB, free: 12.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.01197, allocations: 55.34 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.0121, allocations: 144.7 kB / 0.9877 GB, free: 12.29 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.01212, allocations: 29.7 kB / 0.9877 GB, free: 12.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.01219, allocations: 112.2 kB / 0.9878 GB, free: 12.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.01221, allocations: 11.86 kB / 0.9878 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/0.01227, allocations: 29.64 kB / 0.9878 GB, free: 12.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.01238, allocations: 326.8 kB / 0.9882 GB, free: 11.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.0126, allocations: 71.92 kB / 0.9882 GB, free: 11.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.01282, allocations: 98.47 kB / 0.9883 GB, free: 11.59 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.01323, allocations: 162.4 kB / 0.9885 GB, free: 11.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01323, allocations: 0 / 0.9885 GB, free: 11.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004982/0.01373, allocations: 205.4 kB / 0.9887 GB, free: 11.21 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.01375, allocations: 10.44 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.01376, allocations: 0 / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.01378, allocations: 8.25 kB / 0.9887 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.01412, allocations: 31.95 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01413, allocations: 4 kB / 0.9887 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.01426, allocations: 39.89 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01428, allocations: 4 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 9.944e-05/0.01438, allocations: 113.8 kB / 0.9889 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.01442, allocations: 11.89 kB / 0.9889 GB, free: 10.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005678/0.01499, allocations: 206.2 kB / 0.9891 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.015, allocations: 7.938 kB / 0.9891 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.015, allocations: 0 / 0.9891 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.015, allocations: 3.984 kB / 0.9891 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.01521, allocations: 158.2 kB / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01521, allocations: 3.938 kB / 0.9892 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.01536, allocations: 31.95 kB / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01536, allocations: 0 / 0.9893 GB, free: 10.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.01538, allocations: 8 kB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01538, allocations: 0 / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.01538, allocations: 3.938 kB / 0.9893 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.01589, allocations: 287.3 kB / 0.9896 GB, free: 10.24 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.01591, allocations: 11.95 kB / 0.9896 GB, free: 10.23 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.01593, allocations: 4 kB / 0.9896 GB, free: 10.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.01613, allocations: 27.95 kB / 0.9896 GB, free: 10.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01617, allocations: 11.92 kB / 0.9896 GB, free: 10.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.0162, allocations: 11.98 kB / 0.9896 GB, free: 10.17 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.01626, allocations: 108.9 kB / 0.9897 GB, free: 10.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.01626, allocations: 0 / 0.9897 GB, free: 10.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002962/0.01656, allocations: 27.89 kB / 0.9898 GB, free: 10.04 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 (6): * Single equations (assignments): 6 * 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.0001455/0.01671, allocations: 95.78 kB / 0.9898 GB, free: 9.938 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005189/0.01722, allocations: 163.8 kB / 0.99 GB, free: 9.777 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01723, allocations: 0 / 0.99 GB, free: 9.777 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.01745, allocations: 84.3 kB / 0.9901 GB, free: 9.695 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.01776, allocations: 8.125 kB / 0.9901 GB, free: 9.688 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.01837, allocations: 287.1 kB / 0.9904 GB, free: 9.375 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.01845, allocations: 89.31 kB / 0.9904 GB, free: 9.266 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.01853, allocations: 20.48 kB / 0.9905 GB, free: 9.246 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.01853, allocations: 0 / 0.9905 GB, free: 9.246 MB / 0.948 GB Notification: Performance of Templates: time 0.003175/0.0217, allocations: 1.689 MB / 0.9921 GB, free: 7.562 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothBlocks.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.697475716471672]