Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_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_9_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.0008613/0.0008611, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.005706/0.005706, allocations: 173.7 kB / 16.27 MB, free: 6.676 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.721/2.721, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003852, allocations: 16 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9827/0.9831, allocations: 142.4 MB / 0.9551 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001151/0.9844, allocations: 335.4 kB / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006295/0.985, allocations: 166.2 kB / 0.9555 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.9851, allocations: 1.125 kB / 0.9555 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.9851, allocations: 0 / 0.9555 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.051e-05/0.9852, allocations: 0 / 0.9555 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.9856, allocations: 34.91 kB / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.9857, allocations: 13.98 kB / 0.9556 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.9858, allocations: 5.844 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.205e-05/0.9858, allocations: 3 kB / 0.9556 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.9859, allocations: 10.95 kB / 0.9556 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.9859, allocations: 1.125 kB / 0.9556 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.986, allocations: 35.58 kB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.986, allocations: 5.125 kB / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.9861, allocations: 32.33 kB / 0.9557 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.9862, allocations: 28.91 kB / 0.9557 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9862, allocations: 0 / 0.9557 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9862, allocations: 0 / 0.9557 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9863, allocations: 4 kB / 0.9557 GB, free: 7.188 MB / 0.7169 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.0004089/0.9867, allocations: 335.3 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.9867, allocations: 9.469 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.9868, allocations: 2.219 kB / 0.956 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.732e-05/0.9869, allocations: 165.6 kB / 0.9562 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.9869, allocations: 1.531 kB / 0.9562 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.9869, allocations: 6.688 kB / 0.9562 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9871, allocations: 41.84 kB / 0.9562 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.9871, allocations: 4.188 kB / 0.9562 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.9871, allocations: 4.875 kB / 0.9562 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.9871, allocations: 0 / 0.9562 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.646e-05/0.9872, allocations: 16.89 kB / 0.9563 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.9873, allocations: 157.4 kB / 0.9564 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.9875, allocations: 48.03 kB / 0.9565 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.9875, allocations: 20.28 kB / 0.9565 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.513e-05/0.9876, allocations: 84.8 kB / 0.9566 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.9876, allocations: 30.56 kB / 0.9566 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.9876, allocations: 0.9062 kB / 0.9566 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001507/0.9892, allocations: 493.1 kB / 0.9571 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.9892, allocations: 52.53 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.9893, allocations: 99.84 kB / 0.9572 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.9893, allocations: 33.83 kB / 0.9572 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/0.9893, allocations: 81.36 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.9894, allocations: 22.03 kB / 0.9573 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.9894, allocations: 16.17 kB / 0.9574 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.9895, allocations: 316 kB / 0.9577 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.9895, allocations: 6.969 kB / 0.9577 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.9895, allocations: 15.95 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.864e-05/0.9896, allocations: 33.98 kB / 0.9577 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.9896, allocations: 3.938 kB / 0.9577 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.9898, allocations: 76.48 kB / 0.9578 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.9898, allocations: 9.906 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9898, allocations: 0 / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.9898, allocations: 5.016 kB / 0.9578 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.9899, allocations: 19.19 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.9899, allocations: 0 / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.99, allocations: 1.062 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.99, allocations: 2.156 kB / 0.9578 GB, free: 4.98 MB / 0.7169 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 8.368e-05/0.9901, allocations: 111.9 kB / 0.9579 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.9901, allocations: 9.781 kB / 0.9579 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.9903, allocations: 92.44 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9903, allocations: 0 / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9903, allocations: 1.094 kB / 0.958 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9903, allocations: 3.984 kB / 0.958 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.9904, allocations: 157.7 kB / 0.9582 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.9905, allocations: 1.406 kB / 0.9582 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.9905, allocations: 14.61 kB / 0.9582 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9906, allocations: 3.938 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.9906, allocations: 9 kB / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9906, allocations: 1.125 kB / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9906, allocations: 0 / 0.9582 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.9908, allocations: 118.9 kB / 0.9583 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.9908, allocations: 82.55 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.9908, allocations: 1.25 kB / 0.9584 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.9909, allocations: 5.5 kB / 0.9584 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.9909, allocations: 6.734 kB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.9909, allocations: 6.719 kB / 0.9584 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.932e-05/0.991, allocations: 75.28 kB / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.991, allocations: 1.281 kB / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002482/0.9912, allocations: 31.91 kB / 0.9585 GB, free: 4.277 MB / 0.7169 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.0002264/0.9915, allocations: 124.8 kB / 0.9586 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.9916, allocations: 48.34 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9916, allocations: 1.188 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.9916, allocations: 27.48 kB / 0.9587 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.9918, allocations: 6.625 kB / 0.9587 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.9921, allocations: 152.3 kB / 0.9589 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.9923, allocations: 0.6808 MB / 0.9595 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.9923, allocations: 7.688 kB / 0.9595 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.9923, allocations: 15.25 kB / 0.9596 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.9924, allocations: 0 / 0.9596 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of Templates: time 0.003396/0.9958, allocations: 0.8527 MB / 0.9604 GB, free: 2.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches