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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_10_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.001303/0.001303, allocations: 109.7 kB / 16.41 MB, free: 6.496 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.001478/0.001478, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001552, allocations: 72.09 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9263/0.9279, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002891/0.9308, allocations: 1.453 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.9319, allocations: 0.5603 MB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.932, allocations: 0 / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.932, allocations: 3.938 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.9321, allocations: 3.938 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.9324, allocations: 55.81 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.595e-05/0.9325, allocations: 31.88 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.9326, allocations: 7.984 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.365e-05/0.9327, allocations: 11.98 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.724e-05/0.9327, allocations: 15.92 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.9328, allocations: 4 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.9329, allocations: 47.95 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.9329, allocations: 7.938 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.654e-05/0.933, allocations: 11.92 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.9331, allocations: 68.36 kB / 1.17 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.9331, allocations: 4 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.286e-06/0.9331, allocations: 3.938 kB / 1.17 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.9332, allocations: 7.922 kB / 1.17 GB, free: 1.543 MB / 0.8887 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.0004463/0.9336, allocations: 351.2 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.9336, allocations: 8.922 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.9337, allocations: 4.938 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.9338, allocations: 172.3 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.9338, allocations: 384 / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.9338, allocations: 4.375 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.934, allocations: 50 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.934, allocations: 0 / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.934, allocations: 0 / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.934, allocations: 3.938 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/0.9341, allocations: 19.98 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.9345, allocations: 256.8 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.335e-05/0.9346, allocations: 38.56 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.562e-05/0.9346, allocations: 12.92 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/0.9354, allocations: 473.4 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.9355, allocations: 42.56 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9355, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002433/0.9357, allocations: 69.56 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.9358, allocations: 51.41 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.9358, allocations: 109.8 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.9359, allocations: 29.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.9359, allocations: 84.14 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.9359, allocations: 8.078 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.936, allocations: 17.72 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.9361, allocations: 314.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.54e-05/0.9362, allocations: 8 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.9362, allocations: 11.98 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.82e-05/0.9363, allocations: 28.78 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9363, allocations: 4.062 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.9364, allocations: 57.62 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9365, allocations: 8 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.9365, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.9365, allocations: 0 / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.9366, allocations: 7.984 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.9366, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.044e-05/0.9366, allocations: 0 / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.9366, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 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 7.164e-05/0.9367, allocations: 113.8 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.9367, allocations: 7.953 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.9369, allocations: 65.14 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9369, allocations: 3.938 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9369, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.937, allocations: 3.984 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.9371, allocations: 169.6 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.9371, allocations: 0 / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.9372, allocations: 11.97 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.9372, allocations: 3.984 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.9372, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.9372, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9372, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.9374, allocations: 151.5 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.9374, allocations: 81.06 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.9375, allocations: 8.016 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.9375, allocations: 7.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.9376, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.9376, allocations: 4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.9376, allocations: 91.27 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9376, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002463/0.9379, allocations: 15.94 kB / 1.172 GB, free: 14.2 MB / 0.9044 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.0001767/0.9381, allocations: 115.2 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.9382, allocations: 27.98 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.9382, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.9383, allocations: 11.98 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.9385, allocations: 10.44 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002993/0.9388, allocations: 144.2 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.9391, allocations: 0.6808 MB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.9391, allocations: 11.44 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9391, allocations: 0 / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.002223/0.9413, allocations: 0.8112 MB / 1.174 GB, free: 12.33 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) 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) Reference file matches