Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_11_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.001492/0.001492, allocations: 106 kB / 15.98 MB, free: 6.352 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.001465/0.001465, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.743/2.743, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.33 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003109/0.3357, allocations: 1.526 MB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3368, allocations: 0.5572 MB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.349e-05/0.3369, allocations: 3.938 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.3369, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.171e-05/0.337, allocations: 7.938 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.3374, allocations: 43.89 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.934e-05/0.3374, allocations: 23.92 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.228e-05/0.3375, allocations: 8 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3376, allocations: 19.92 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.3377, allocations: 15.92 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3377, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.3379, allocations: 51.95 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.3379, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.3379, allocations: 15.92 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3381, allocations: 39.94 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3381, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3381, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.3381, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 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.0004797/0.3386, allocations: 359.6 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3386, allocations: 8.031 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3386, allocations: 4.844 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.3388, allocations: 168.3 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3388, allocations: 4.375 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3388, allocations: 4.375 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.339, allocations: 46 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.339, allocations: 0 / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.339, allocations: 3.938 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3391, allocations: 3.984 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.734e-05/0.3392, allocations: 27.98 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.3395, allocations: 248.9 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3397, allocations: 38.5 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.3397, allocations: 16.92 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009237/0.3407, allocations: 481.4 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.3407, allocations: 30.56 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3407, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0002715/0.341, allocations: 77.52 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.341, allocations: 51.41 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3412, allocations: 105.8 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3412, allocations: 25.7 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.3412, allocations: 88.14 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.3413, allocations: 7.891 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.3413, allocations: 17.72 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3415, allocations: 310.8 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.3416, allocations: 20.11 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/0.3416, allocations: 4 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.289e-05/0.3417, allocations: 28.78 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3417, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001239/0.3418, allocations: 53.62 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3419, allocations: 11.98 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3419, allocations: 4.094 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3419, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.342, allocations: 7.984 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.342, allocations: 3.938 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.342, allocations: 8 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.342, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 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.783e-05/0.3421, allocations: 115.5 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.3422, allocations: 7.906 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.3423, allocations: 65.2 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3424, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3424, allocations: 3.938 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3424, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.3426, allocations: 161.6 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3426, allocations: 0 / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.3426, allocations: 7.984 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3426, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3426, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3426, allocations: 0 / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3427, allocations: 4.031 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3428, allocations: 159.4 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.3429, allocations: 81.02 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3429, allocations: 4 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.211e-05/0.343, allocations: 4 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3431, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3431, allocations: 4.016 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.346e-05/0.3431, allocations: 91.28 kB / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.957e-06/0.3431, allocations: 0 / 1.069 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002475/0.3434, allocations: 19.94 kB / 1.069 GB, free: 9.457 MB / 0.8419 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.0002366/0.3436, allocations: 111.2 kB / 1.069 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.3438, allocations: 27.98 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3438, allocations: 0 / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.3439, allocations: 16.05 kB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3442, allocations: 3.938 kB / 1.069 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.3446, allocations: 168.1 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3449, allocations: 0.6768 MB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.345, allocations: 7.438 kB / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.345, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of Templates: time 0.00315/0.3481, allocations: 0.8166 MB / 1.071 GB, free: 7.582 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches