Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 104.1 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 188.4 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.645/2.645, allocations: 443.5 MB / 0.731 GB, free: 13.98 MB / 0.5762 GB [Timeout remaining time 87] 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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 71.88 kB / 1.06 GB, free: 0.582 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3011, allocations: 160.7 MB / 1.217 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002727/0.3038, allocations: 1.46 MB / 1.218 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009609/0.3047, allocations: 0.5625 MB / 1.219 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.3048, allocations: 0 / 1.219 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.3048, allocations: 3.984 kB / 1.219 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.922e-05/0.3049, allocations: 19.8 kB / 1.219 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3051, allocations: 43.89 kB / 1.219 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.812e-05/0.3052, allocations: 27.86 kB / 1.219 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.3053, allocations: 4 kB / 1.219 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.309e-05/0.3054, allocations: 19.92 kB / 1.219 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.3054, allocations: 15.92 kB / 1.219 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3054, allocations: 4 kB / 1.219 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.3056, allocations: 55.95 kB / 1.219 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.3056, allocations: 3.984 kB / 1.219 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3056, allocations: 15.88 kB / 1.219 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3058, allocations: 63.73 kB / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3058, allocations: 0 / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3058, allocations: 0 / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3058, allocations: 0 / 1.219 GB, free: 13.23 MB / 0.9669 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.0004742/0.3062, allocations: 359.2 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.3063, allocations: 8.031 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3063, allocations: 4.938 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.3065, allocations: 168.3 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.3065, allocations: 4.375 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.3065, allocations: 4.375 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3066, allocations: 49.98 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3066, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.3066, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3066, allocations: 0 / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.3067, allocations: 23.98 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.3071, allocations: 256.9 kB / 1.22 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.719e-05/0.3072, allocations: 30.52 kB / 1.22 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.152e-05/0.3073, allocations: 16.91 kB / 1.22 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000887/0.3081, allocations: 477.4 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3082, allocations: 34.55 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 2.995e-06/0.3082, allocations: 3.984 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002583/0.3084, allocations: 73.67 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.3085, allocations: 51.41 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3086, allocations: 109.8 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3086, allocations: 25.7 kB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.3087, allocations: 92.12 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3087, allocations: 3.953 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.3087, allocations: 17.72 kB / 1.221 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3089, allocations: 310.8 kB / 1.221 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-05/0.3089, allocations: 16.02 kB / 1.221 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.414e-05/0.3089, allocations: 8 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.531e-05/0.309, allocations: 28.78 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.309, allocations: 3.938 kB / 1.221 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001255/0.3092, allocations: 57.61 kB / 1.221 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3092, allocations: 8 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3092, allocations: 96 / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3092, allocations: 4 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.3093, allocations: 4 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3093, allocations: 0 / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.3093, allocations: 7.984 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3093, allocations: 4.312 kB / 1.221 GB, free: 10.7 MB / 0.9669 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 8.856e-05/0.3094, allocations: 109.8 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.3094, allocations: 7.953 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.3096, allocations: 69.14 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3096, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3096, allocations: 3.938 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3096, allocations: 0 / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3098, allocations: 165.6 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3098, allocations: 0 / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.3098, allocations: 4 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3098, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3099, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3099, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3099, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.31, allocations: 159.5 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.3101, allocations: 81.06 kB / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3101, allocations: 0 / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.3102, allocations: 8 kB / 1.222 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/0.3102, allocations: 3.984 kB / 1.222 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3102, allocations: 3.938 kB / 1.222 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3103, allocations: 95.3 kB / 1.222 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3103, allocations: 0 / 1.222 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002384/0.3105, allocations: 19.92 kB / 1.222 GB, free: 9.875 MB / 0.9669 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.0001627/0.3107, allocations: 107.2 kB / 1.222 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.3108, allocations: 31.97 kB / 1.222 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3108, allocations: 4 kB / 1.222 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.3109, allocations: 12.06 kB / 1.222 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.3111, allocations: 5.656 kB / 1.222 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.3114, allocations: 160.1 kB / 1.222 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3117, allocations: 0.6807 MB / 1.223 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.664e-05/0.3117, allocations: 11.42 kB / 1.223 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3117, allocations: 0 / 1.223 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.00256/0.3143, allocations: 0.8088 MB / 1.223 GB, free: 8 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches