Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009966/0.0009965, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007724/0.007724, allocations: 170 kB / 16.27 MB, free: 6.652 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.503/1.503, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.862/2.862, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004623, allocations: 11.78 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3451, allocations: 159.6 MB / 1.059 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006707/0.3458, allocations: 338.7 kB / 1.059 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003733/0.3462, allocations: 167.5 kB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.3462, allocations: 0 / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.738e-06/0.3462, allocations: 0 / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 1.667e-05/0.3462, allocations: 4 kB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.3464, allocations: 27.97 kB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.083e-05/0.3465, allocations: 11.98 kB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.3465, allocations: 11.94 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.3466, allocations: 7.938 kB / 1.059 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.731e-05/0.3466, allocations: 11.97 kB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.3466, allocations: 0 / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.3467, allocations: 31.97 kB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.3467, allocations: 4 kB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.3468, allocations: 33.64 kB / 1.059 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.3469, allocations: 39.88 kB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3469, allocations: 0 / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3469, allocations: 0 / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.3469, allocations: 0 / 1.059 GB, free: 4.773 MB / 0.8106 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.0003084/0.3472, allocations: 327.5 kB / 1.06 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.3472, allocations: 8.031 kB / 1.06 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.3473, allocations: 8.922 kB / 1.06 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.3474, allocations: 160.4 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.3474, allocations: 384 / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3474, allocations: 12.38 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.3475, allocations: 42.25 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.3475, allocations: 192 / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3476, allocations: 3.938 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3476, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.3476, allocations: 19.92 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.3478, allocations: 161.8 kB / 1.06 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.832e-05/0.3479, allocations: 50.62 kB / 1.06 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/0.3479, allocations: 20.97 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.348, allocations: 81.11 kB / 1.06 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.348, allocations: 30.56 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 2.384e-06/0.348, allocations: 0 / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.001292/0.3493, allocations: 0.4884 MB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.3494, allocations: 59.39 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.687e-05/0.3495, allocations: 93.86 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3495, allocations: 29.7 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.3495, allocations: 80.14 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.3496, allocations: 23.66 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.3496, allocations: 17.64 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3498, allocations: 318.8 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.3498, allocations: 4 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.353e-05/0.3498, allocations: 15.98 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.401e-05/0.3499, allocations: 48.91 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3499, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001248/0.3501, allocations: 61.69 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3501, allocations: 13.34 kB / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3501, allocations: 0 / 1.061 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3501, allocations: 3.984 kB / 1.061 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.3502, allocations: 16 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3502, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.3503, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.3503, allocations: 0 / 1.061 GB, free: 2.297 MB / 0.8106 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 0.0001013/0.3504, allocations: 123.3 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.3504, allocations: 7.844 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.3506, allocations: 85.92 kB / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3506, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3506, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3506, allocations: 0 / 1.062 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.3508, allocations: 165.7 kB / 1.062 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3508, allocations: 4 kB / 1.062 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.599e-05/0.3509, allocations: 15.98 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3509, allocations: 7.938 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3509, allocations: 0 / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3509, allocations: 4.125 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3509, allocations: 4 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.3511, allocations: 109.1 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3512, allocations: 89.06 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3512, allocations: 0 / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.573e-05/0.3513, allocations: 8.062 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.3513, allocations: 7.984 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3513, allocations: 4 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.3514, allocations: 79.22 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3514, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002362/0.3516, allocations: 32 kB / 1.062 GB, free: 1.465 MB / 0.8106 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.0002639/0.3519, allocations: 131.1 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.352, allocations: 44.08 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.352, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.3521, allocations: 23.92 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.3522, allocations: 11.91 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.3526, allocations: 156.4 kB / 1.063 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3528, allocations: 0.6809 MB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.832e-05/0.3529, allocations: 8 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.3529, allocations: 11.44 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.3529, allocations: 0 / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of Templates: time 0.003107/0.356, allocations: 0.8499 MB / 1.064 GB, free: 15.5 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches