Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_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_11_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.008947/0.008947, allocations: 100.4 kB / 15.73 MB, free: 6.02 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.001152/0.001152, allocations: 190.6 kB / 16.67 MB, free: 5.934 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.621/2.621, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.91 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8793/0.8808, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001671/0.8825, allocations: 0.6014 MB / 1.221 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.8829, allocations: 161.3 kB / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.8829, allocations: 0 / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.8829, allocations: 0 / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.387e-05/0.8829, allocations: 0 / 1.221 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.8833, allocations: 43.89 kB / 1.221 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.72e-05/0.8833, allocations: 15.98 kB / 1.221 GB, free: 1.258 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.8834, allocations: 3.938 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.8834, allocations: 4 kB / 1.221 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.8835, allocations: 19.92 kB / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.8835, allocations: 0 / 1.221 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.8836, allocations: 35.95 kB / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.8836, allocations: 0 / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.8836, allocations: 7.938 kB / 1.222 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.8837, allocations: 35.88 kB / 1.222 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8837, allocations: 0 / 1.222 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8837, allocations: 0 / 1.222 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.8837, allocations: 0 / 1.222 GB, free: 1.152 MB / 0.9356 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.000396/0.8841, allocations: 336 kB / 1.222 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.8842, allocations: 12.03 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.8842, allocations: 4.938 kB / 1.222 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.8843, allocations: 168.3 kB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.8843, allocations: 384 / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.8843, allocations: 4.375 kB / 1.222 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.8844, allocations: 42.25 kB / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.8845, allocations: 192 / 1.222 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.8845, allocations: 7.938 kB / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.8845, allocations: 0 / 1.222 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.143e-05/0.8845, allocations: 15.92 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.8847, allocations: 169.7 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.8848, allocations: 42.55 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.8848, allocations: 16.98 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.482e-05/0.8849, allocations: 81.11 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.8849, allocations: 34.55 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.8849, allocations: 4 kB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.001268/0.8862, allocations: 496.2 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.8862, allocations: 55.41 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.8863, allocations: 93.86 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.8863, allocations: 25.7 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.8863, allocations: 80.14 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.8863, allocations: 27.78 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.8864, allocations: 25.84 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.8865, allocations: 318.8 kB / 1.224 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.8865, allocations: 12 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.8865, allocations: 7.984 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.8866, allocations: 45.02 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.8866, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001047/0.8867, allocations: 77.56 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.8867, allocations: 11.94 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.8867, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.8867, allocations: 4 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.455e-05/0.8868, allocations: 15.98 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8868, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.8868, allocations: 0 / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.8869, allocations: 4 kB / 1.224 GB, free: 14.65 MB / 0.9512 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.694e-05/0.8869, allocations: 114.3 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.8869, allocations: 7.938 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.8871, allocations: 77.64 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8871, allocations: 4 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8871, allocations: 0 / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8871, allocations: 7.984 kB / 1.224 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.8873, allocations: 161.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.8873, allocations: 4 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.8873, allocations: 8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8873, allocations: 7.938 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8874, allocations: 7.984 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8874, allocations: 3.938 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8874, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.8875, allocations: 121 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.8876, allocations: 81.05 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.8876, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.918e-05/0.8877, allocations: 4 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.8877, allocations: 7.984 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.8877, allocations: 4 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.8877, allocations: 75.28 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8877, allocations: 4.156 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002322/0.8879, allocations: 31.94 kB / 1.224 GB, free: 13.82 MB / 0.9512 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.0002418/0.8882, allocations: 139 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.8883, allocations: 31.98 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8883, allocations: 4 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.8883, allocations: 23.92 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.8885, allocations: 7.938 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.8888, allocations: 145.4 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.889, allocations: 0.6845 MB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.398e-05/0.889, allocations: 8.484 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.889, allocations: 11.44 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.889, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Templates: time 0.002994/0.892, allocations: 0.8855 MB / 1.226 GB, free: 11.84 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches