Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 102.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001369, allocations: 190.9 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.45 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2852, allocations: 140.4 MB / 0.9503 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002857/0.2882, allocations: 1.46 MB / 0.9517 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009361/0.2891, allocations: 0.56 MB / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.2892, allocations: 0 / 0.9522 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.2892, allocations: 3.938 kB / 0.9522 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.2893, allocations: 3.938 kB / 0.9522 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.2896, allocations: 47.83 kB / 0.9523 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.465e-05/0.2897, allocations: 35.84 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.2898, allocations: 4 kB / 0.9523 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.2899, allocations: 15.98 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.64e-05/0.2899, allocations: 15.92 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.2899, allocations: 4 kB / 0.9524 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.2901, allocations: 55.95 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.2901, allocations: 7.922 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.2901, allocations: 11.94 kB / 0.9524 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2903, allocations: 59.86 kB / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2903, allocations: 0 / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2903, allocations: 0 / 0.9525 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.2903, allocations: 0 / 0.9525 GB, free: 6.578 MB / 0.7325 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.0004341/0.2907, allocations: 363.5 kB / 0.9528 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2908, allocations: 8.031 kB / 0.9528 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2908, allocations: 4.938 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.291, allocations: 168.3 kB / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.291, allocations: 384 / 0.953 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.291, allocations: 4.375 kB / 0.953 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2911, allocations: 49.98 kB / 0.9531 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2911, allocations: 0 / 0.9531 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.2912, allocations: 0 / 0.9531 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2912, allocations: 0 / 0.9531 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.868e-05/0.2913, allocations: 23.98 kB / 0.9531 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.2916, allocations: 264.8 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.2917, allocations: 26.58 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.2917, allocations: 16.91 kB / 0.9534 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008453/0.2926, allocations: 477.4 kB / 0.9538 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.2926, allocations: 34.5 kB / 0.9539 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.2926, allocations: 4 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002543/0.2929, allocations: 69.62 kB / 0.9539 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.293, allocations: 55.34 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.293, allocations: 109.8 kB / 0.9541 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2931, allocations: 25.7 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.2931, allocations: 92.11 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2931, allocations: 3.906 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.2932, allocations: 13.72 kB / 0.9542 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.2934, allocations: 318.8 kB / 0.9545 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.2934, allocations: 12.03 kB / 0.9545 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.2934, allocations: 11.98 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.712e-05/0.2935, allocations: 24.8 kB / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2935, allocations: 0 / 0.9546 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.2937, allocations: 61.61 kB / 0.9546 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2937, allocations: 4 kB / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2937, allocations: 96 / 0.9546 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.2937, allocations: 4 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.2938, allocations: 4 kB / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2938, allocations: 0 / 0.9546 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.736e-05/0.2938, allocations: 7.984 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2939, allocations: 0 / 0.9547 GB, free: 4.047 MB / 0.7325 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 0.0001372/0.294, allocations: 113.8 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.294, allocations: 4 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.2942, allocations: 77.03 kB / 0.9548 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2942, allocations: 0 / 0.9548 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2942, allocations: 4 kB / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2942, allocations: 0 / 0.9548 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.2944, allocations: 165.6 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2944, allocations: 0 / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.2945, allocations: 4 kB / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2945, allocations: 0 / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.2945, allocations: 0 / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2945, allocations: 0 / 0.955 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2945, allocations: 4 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.2947, allocations: 155.5 kB / 0.9552 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2948, allocations: 81.05 kB / 0.9552 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.2948, allocations: 4 kB / 0.9552 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.407e-05/0.2948, allocations: 3.984 kB / 0.9552 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.2949, allocations: 3.938 kB / 0.9552 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.2949, allocations: 4 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.295, allocations: 87.31 kB / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.295, allocations: 0 / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002428/0.2952, allocations: 15.98 kB / 0.9554 GB, free: 3.23 MB / 0.7325 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.0001678/0.2954, allocations: 107.2 kB / 0.9555 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2955, allocations: 31.91 kB / 0.9555 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2955, allocations: 0 / 0.9555 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/0.2956, allocations: 16.06 kB / 0.9555 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.2958, allocations: 6.594 kB / 0.9555 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003293/0.2962, allocations: 160.2 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.2965, allocations: 0.6844 MB / 0.9563 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.2965, allocations: 11.42 kB / 0.9563 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.2965, allocations: 0 / 0.9563 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.002287/0.2988, allocations: 0.8108 MB / 0.9571 GB, free: 1.348 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches