Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007541/0.007541, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001671/0.001671, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.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.727/2.727, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 151.6 MB / 1.167 GB, free: 6.91 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001753/0.3487, allocations: 0.5922 MB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004315/0.3492, allocations: 159.8 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.3492, allocations: 7.938 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.3492, allocations: 0 / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.3493, allocations: 3.938 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.3496, allocations: 47.88 kB / 1.167 GB, free: 6.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.3497, allocations: 11.98 kB / 1.167 GB, free: 6.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.3497, allocations: 4 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.3498, allocations: 7.984 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.3499, allocations: 11.92 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3499, allocations: 4 kB / 1.167 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.864e-05/0.35, allocations: 31.97 kB / 1.168 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.35, allocations: 7.984 kB / 1.168 GB, free: 6.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.779e-05/0.35, allocations: 3.938 kB / 1.168 GB, free: 6.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3502, allocations: 35.89 kB / 1.168 GB, free: 5.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3502, allocations: 0 / 1.168 GB, free: 5.984 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3502, allocations: 0 / 1.168 GB, free: 5.984 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.3502, allocations: 0 / 1.168 GB, free: 5.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005215/0.3507, allocations: 331.5 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3508, allocations: 12.02 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3508, allocations: 0.9375 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.351, allocations: 176.3 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.351, allocations: 384 / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.351, allocations: 384 / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3512, allocations: 46.19 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3512, allocations: 192 / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.3512, allocations: 11.94 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3512, allocations: 0 / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.3513, allocations: 11.98 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000192/0.3515, allocations: 161.7 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.3516, allocations: 50.5 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.3516, allocations: 20.98 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.3517, allocations: 81.09 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.3518, allocations: 30.56 kB / 1.168 GB, free: 4.887 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3518, allocations: 7.938 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001266/0.353, allocations: 484 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.3531, allocations: 63.34 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.3531, allocations: 93.84 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3532, allocations: 25.7 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.3532, allocations: 88.08 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.3532, allocations: 19.8 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.3533, allocations: 29.7 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3534, allocations: 310.8 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.3534, allocations: 16.12 kB / 1.17 GB, free: 3.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.3535, allocations: 16.06 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.76e-05/0.3535, allocations: 36.98 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3536, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001183/0.3537, allocations: 70.08 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.3537, allocations: 11.94 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3537, allocations: 7.922 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3537, allocations: 0 / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.896e-05/0.3538, allocations: 12 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3538, allocations: 4 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.237e-05/0.3539, allocations: 4 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3539, allocations: 4 kB / 1.17 GB, free: 3.48 MB / 0.92 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 (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 7.16e-05/0.354, allocations: 109.8 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.354, allocations: 7.938 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.3542, allocations: 85.56 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3542, allocations: 3.938 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3542, allocations: 4 kB / 1.17 GB, free: 3.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3542, allocations: 4 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.3543, allocations: 161.7 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3543, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.3544, allocations: 19.98 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3544, allocations: 3.938 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3544, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3544, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3545, allocations: 0 / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3546, allocations: 121 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.3547, allocations: 85.11 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3547, allocations: 4 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.3548, allocations: 4.031 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.3548, allocations: 3.984 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3548, allocations: 4 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.395e-05/0.3548, allocations: 75.28 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3548, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002115/0.3551, allocations: 31.94 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0002352/0.3553, allocations: 139.2 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.3554, allocations: 35.92 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3555, allocations: 3.938 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.3555, allocations: 23.98 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.3557, allocations: 6.188 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.356, allocations: 137.9 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3562, allocations: 0.6768 MB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.3563, allocations: 19.92 kB / 1.171 GB, free: 1.562 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.3563, allocations: 7.438 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3563, allocations: 3.938 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of Templates: time 0.003095/0.3594, allocations: 0.8823 MB / 1.172 GB, free: 0.6797 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches