Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 107 kB / 18.67 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01194/0.01194, allocations: 195.6 kB / 21.93 MB, free: 5.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 250.6 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.786/2.786, allocations: 443.5 MB / 0.7317 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Examples.SmoothBlocks") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 1.061 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9881/0.9902, allocations: 160.7 MB / 1.218 GB, free: 4.082 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.003896/0.9941, allocations: 1.799 MB / 1.219 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.9955, allocations: 0.67 MB / 1.22 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.9956, allocations: 6.25 kB / 1.22 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.139e-05/0.9957, allocations: 15.8 kB / 1.22 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.9958, allocations: 13.25 kB / 1.22 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007668/0.9965, allocations: 166.1 kB / 1.22 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.9968, allocations: 124.9 kB / 1.22 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.997, allocations: 32.45 kB / 1.22 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.9971, allocations: 56.89 kB / 1.221 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.9973, allocations: 56.38 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.9973, allocations: 10.12 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.9974, allocations: 48.84 kB / 1.221 GB, free: 1.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.9975, allocations: 28.75 kB / 1.221 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.901e-05/0.9976, allocations: 57.72 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.9979, allocations: 151.3 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9979, allocations: 0 / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9979, allocations: 1.531 kB / 1.221 GB, free: 1.648 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.9979, allocations: 0 / 1.221 GB, free: 1.648 MB / 0.92 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.0008185/0.9987, allocations: 437.6 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.9988, allocations: 9.5 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.9997, allocations: 120.8 kB / 1.221 GB, free: 1.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/1, allocations: 186 kB / 1.222 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1, allocations: 67.31 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/1, allocations: 5.75 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/1.001, allocations: 179 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/1.001, allocations: 0 / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/1.001, allocations: 1.156 kB / 1.222 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/1.001, allocations: 6.625 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/1.001, allocations: 159.9 kB / 1.222 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/1.003, allocations: 488.7 kB / 1.222 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/1.004, allocations: 217.4 kB / 1.223 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/1.004, allocations: 85.48 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/1.004, allocations: 1.344 kB / 1.223 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/1.004, allocations: 31.88 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/1.004, allocations: 0 / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.001174/1.005, allocations: 264 kB / 1.223 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/1.005, allocations: 52.53 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/1.006, allocations: 139.9 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/1.006, allocations: 25.7 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/1.006, allocations: 122.5 kB / 1.223 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/1.006, allocations: 17.61 kB / 1.223 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/1.006, allocations: 28.73 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0004204/1.006, allocations: 321 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/1.007, allocations: 77.77 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/1.007, allocations: 97.98 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009053/1.008, allocations: 159.7 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.008, allocations: 0 / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007507/1.009, allocations: 198.2 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.009, allocations: 10.03 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.009, allocations: 1.125 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.009, allocations: 12.91 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/1.009, allocations: 33.64 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.009, allocations: 1.156 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/1.009, allocations: 28.52 kB / 1.224 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/1.009, allocations: 3.25 kB / 1.224 GB, free: 14.82 MB / 0.9356 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 0.0001346/1.009, allocations: 122.1 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/1.009, allocations: 9.297 kB / 1.224 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/1.01, allocations: 210.9 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.01, allocations: 7.922 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/1.01, allocations: 5.125 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/1.01, allocations: 83.28 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/1.01, allocations: 1.188 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/1.011, allocations: 32.45 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/1.011, allocations: 6.609 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009473/1.012, allocations: 278.7 kB / 1.225 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000882/1.013, allocations: 369.3 kB / 1.225 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003343/1.013, allocations: 77.62 kB / 1.225 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001646/1.013, allocations: 104.9 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of Backend: time 4.51e-07/1.013, allocations: 4 kB / 1.226 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008574/1.014, allocations: 180.9 kB / 1.226 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0009458/1.015, allocations: 0.6512 MB / 1.226 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of Templates: time 0.006805/1.022, allocations: 2.317 MB / 1.229 GB, free: 11.87 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothBlocks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.138401346019236]