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.001235/0.001235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.319/2.319, allocations: 390.2 MB / 0.6647 GB, free: 384 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8115/0.813, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001906/0.8149, allocations: 0.5938 MB / 0.9502 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004025/0.8153, allocations: 159.5 kB / 0.9503 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.741e-05/0.8154, allocations: 0 / 0.9503 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.8154, allocations: 3.938 kB / 0.9503 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.909e-05/0.8154, allocations: 4 kB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.8158, allocations: 38.61 kB / 0.9504 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.8159, allocations: 12.06 kB / 0.9504 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.8159, allocations: 9.5 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.8159, allocations: 2.812 kB / 0.9504 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.816, allocations: 10.44 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.816, allocations: 1.438 kB / 0.9504 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.541e-05/0.8161, allocations: 35.55 kB / 0.9504 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.8162, allocations: 1.281 kB / 0.9504 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.8162, allocations: 13.77 kB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.8163, allocations: 29.14 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8163, allocations: 5.219 kB / 0.9505 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8163, allocations: 0 / 0.9505 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.8163, allocations: 0 / 0.9505 GB, free: 8.469 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.0003746/0.8167, allocations: 329.5 kB / 0.9508 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8168, allocations: 17.66 kB / 0.9508 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.8168, allocations: 6.375 kB / 0.9508 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.8169, allocations: 161.9 kB / 0.951 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.8169, allocations: 1.812 kB / 0.951 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.817, allocations: 9.625 kB / 0.951 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.8171, allocations: 41.75 kB / 0.951 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.8171, allocations: 192 / 0.951 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8171, allocations: 5.125 kB / 0.951 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.8171, allocations: 1.031 kB / 0.951 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.025e-05/0.8172, allocations: 16.36 kB / 0.951 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.8173, allocations: 160 kB / 0.9512 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.8174, allocations: 48.06 kB / 0.9512 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.8175, allocations: 25.69 kB / 0.9513 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.8176, allocations: 79.2 kB / 0.9513 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.8176, allocations: 31.97 kB / 0.9514 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.8176, allocations: 0 / 0.9514 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001337/0.819, allocations: 496.2 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.819, allocations: 52.91 kB / 0.9519 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.8191, allocations: 95.73 kB / 0.952 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.8191, allocations: 29.7 kB / 0.952 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.5e-05/0.8191, allocations: 80.14 kB / 0.9521 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.8192, allocations: 23.5 kB / 0.9521 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.8192, allocations: 26.75 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/0.8193, allocations: 312.3 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.8193, allocations: 15.8 kB / 0.9525 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.366e-05/0.8193, allocations: 15.16 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.096e-05/0.8194, allocations: 38.25 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.8194, allocations: 0 / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001022/0.8195, allocations: 71.75 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.8195, allocations: 10.31 kB / 0.9526 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.8195, allocations: 0 / 0.9526 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.8196, allocations: 1.656 kB / 0.9526 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.8197, allocations: 10.41 kB / 0.9526 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.8197, allocations: 1.125 kB / 0.9526 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.8197, allocations: 5.031 kB / 0.9526 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.8197, allocations: 9.172 kB / 0.9526 GB, free: 6.254 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 5.722e-05/0.8198, allocations: 111.9 kB / 0.9527 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.8198, allocations: 6.156 kB / 0.9527 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.82, allocations: 96.05 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.82, allocations: 1.188 kB / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.82, allocations: 0 / 0.9528 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.82, allocations: 4.969 kB / 0.9528 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.58e-05/0.8201, allocations: 166.4 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8201, allocations: 4 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/0.8202, allocations: 10.25 kB / 0.953 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8202, allocations: 5.312 kB / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.8202, allocations: 0 / 0.953 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8202, allocations: 5.094 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8202, allocations: 0 / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.8204, allocations: 123 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.711e-05/0.8204, allocations: 82.61 kB / 0.9532 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.8204, allocations: 4.047 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.8205, allocations: 5.594 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.8205, allocations: 4.188 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.8205, allocations: 1.281 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.8205, allocations: 80.31 kB / 0.9533 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8206, allocations: 0 / 0.9533 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002213/0.8208, allocations: 31.8 kB / 0.9533 GB, free: 5.543 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.0002267/0.821, allocations: 134 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.8212, allocations: 45.92 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8212, allocations: 0 / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.821e-05/0.8212, allocations: 24.14 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.8214, allocations: 5.266 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.8217, allocations: 141.4 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.8219, allocations: 0.6843 MB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.8219, allocations: 20.16 kB / 0.9543 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.8219, allocations: 11.34 kB / 0.9544 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8219, allocations: 3.938 kB / 0.9544 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.003504/0.8254, allocations: 0.8748 MB / 0.9552 GB, free: 4.086 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