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.007279/0.00728, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001608/0.001609, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.421/2.421, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.5 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3549, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002063/0.357, allocations: 0.5951 MB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005269/0.3576, allocations: 163.8 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.3576, allocations: 0 / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.803e-05/0.3577, allocations: 0 / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.3577, allocations: 7.938 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3582, allocations: 39.89 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.3583, allocations: 11.94 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.075e-05/0.3583, allocations: 0 / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.625e-05/0.3584, allocations: 15.97 kB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3585, allocations: 4 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3585, allocations: 3.938 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3587, allocations: 35.97 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.3587, allocations: 7.984 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.3587, allocations: 4 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3589, allocations: 31.83 kB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.3589, allocations: 0 / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3589, allocations: 0 / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3589, allocations: 4 kB / 1.089 GB, free: 0.5547 MB / 0.8419 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.0005645/0.3595, allocations: 327.5 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.3596, allocations: 12.03 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.3596, allocations: 4.938 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3599, allocations: 172.2 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3599, allocations: 4.375 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.3599, allocations: 4.375 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.3601, allocations: 42.25 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.3601, allocations: 4.188 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.3601, allocations: 3.938 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3601, allocations: 0 / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.3602, allocations: 15.98 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.3604, allocations: 161.7 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.3605, allocations: 46.56 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.036e-05/0.3606, allocations: 20.97 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.3607, allocations: 89.03 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.3607, allocations: 34.56 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3607, allocations: 3.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001338/0.3621, allocations: 484.1 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3621, allocations: 51.41 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.3622, allocations: 105.8 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.3622, allocations: 25.7 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.3623, allocations: 84.08 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.3623, allocations: 27.75 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.3624, allocations: 21.7 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3625, allocations: 319 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.065e-05/0.3625, allocations: 11.98 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.667e-05/0.3626, allocations: 16.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.296e-05/0.3627, allocations: 40.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3627, allocations: 0 / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001152/0.3628, allocations: 69.67 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3628, allocations: 7.938 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3628, allocations: 0 / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3628, allocations: 7.938 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.3629, allocations: 16 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3629, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.363, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.363, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 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.0001172/0.3631, allocations: 117.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.3631, allocations: 3.938 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.3633, allocations: 81.58 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3633, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3633, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3633, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3635, allocations: 165.7 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3635, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.271e-05/0.3636, allocations: 15.98 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.3636, allocations: 3.938 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3636, allocations: 4 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3636, allocations: 3.938 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3636, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.3638, allocations: 121 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.3639, allocations: 85.08 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3639, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.364, allocations: 7.984 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.773e-05/0.364, allocations: 4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.364, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.816e-05/0.3641, allocations: 79.28 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3641, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002286/0.3643, allocations: 36.08 kB / 1.092 GB, free: 13.23 MB / 0.8575 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.0002503/0.3646, allocations: 127.2 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3647, allocations: 47.91 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3647, allocations: 3.938 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.258e-05/0.3648, allocations: 16.55 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.3649, allocations: 8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.3653, allocations: 137.5 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.3656, allocations: 0.6859 MB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.182e-05/0.3657, allocations: 15.83 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.3657, allocations: 15.42 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of SimCode: time 1.884e-06/0.3657, allocations: 0 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of Templates: time 0.00372/0.3694, allocations: 0.8785 MB / 1.094 GB, free: 11.25 MB / 0.8575 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