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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001491/0.001491, allocations: 115.8 kB / 16.37 MB, free: 6.012 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.0017/0.0017, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 71.69 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2614, allocations: 140.4 MB / 0.9511 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001789/0.2632, allocations: 0.6073 MB / 0.9517 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003709/0.2636, allocations: 159.5 kB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.353e-05/0.2637, allocations: 4 kB / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.2637, allocations: 0 / 0.9519 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.949e-05/0.2637, allocations: 3.938 kB / 0.9519 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.264, allocations: 39.89 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.264, allocations: 15.98 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.2641, allocations: 4 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.2641, allocations: 3.938 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.651e-05/0.2642, allocations: 11.98 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2642, allocations: 0 / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.2643, allocations: 39.95 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.2643, allocations: 4 kB / 0.952 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.2643, allocations: 7.938 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.194e-05/0.2644, allocations: 35.88 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.2644, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2644, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2644, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 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.0003191/0.2648, allocations: 332.5 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2648, allocations: 12.03 kB / 0.9524 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.2648, allocations: 4.938 kB / 0.9524 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.2649, allocations: 168.3 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.265, allocations: 8.312 kB / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.265, allocations: 384 / 0.9525 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.2651, allocations: 46.25 kB / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2651, allocations: 192 / 0.9526 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2651, allocations: 3.938 kB / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2651, allocations: 0 / 0.9526 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.2652, allocations: 15.98 kB / 0.9526 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.2653, allocations: 165.7 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.542e-05/0.2654, allocations: 46.5 kB / 0.9528 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.2654, allocations: 16.98 kB / 0.9528 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.517e-05/0.2655, allocations: 81.11 kB / 0.9529 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2656, allocations: 38.55 kB / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2656, allocations: 0 / 0.9529 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.001182/0.2668, allocations: 491.9 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2668, allocations: 59.34 kB / 0.9535 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.2668, allocations: 89.86 kB / 0.9536 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.2669, allocations: 25.7 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.2669, allocations: 88.08 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.2669, allocations: 23.64 kB / 0.9537 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.267, allocations: 21.72 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.2671, allocations: 323 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.2671, allocations: 8 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.2671, allocations: 15.98 kB / 0.954 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.2672, allocations: 32.86 kB / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2672, allocations: 0 / 0.9541 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001054/0.2673, allocations: 73.61 kB / 0.9541 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2673, allocations: 7.938 kB / 0.9541 GB, free: 4.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2674, allocations: 4 kB / 0.9541 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2674, allocations: 0 / 0.9541 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.848e-05/0.2675, allocations: 12.42 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2675, allocations: 8 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.2675, allocations: 0 / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.2675, allocations: 4 kB / 0.9542 GB, free: 4.586 MB / 0.7325 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 6.682e-05/0.2676, allocations: 115.8 kB / 0.9543 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.2676, allocations: 3.938 kB / 0.9543 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.2678, allocations: 97.77 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2678, allocations: 0 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2678, allocations: 4 kB / 0.9544 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2678, allocations: 3.984 kB / 0.9544 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.2679, allocations: 157.7 kB / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2679, allocations: 0 / 0.9545 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.046e-05/0.268, allocations: 16 kB / 0.9546 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.268, allocations: 3.938 kB / 0.9546 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.268, allocations: 7.984 kB / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.268, allocations: 0 / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.268, allocations: 0 / 0.9546 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.2682, allocations: 121 kB / 0.9547 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.2682, allocations: 85.08 kB / 0.9548 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2683, allocations: 4 kB / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.374e-05/0.2683, allocations: 0 / 0.9548 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.2683, allocations: 7.984 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.2684, allocations: 4 kB / 0.9548 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.118e-05/0.2684, allocations: 75.28 kB / 0.9548 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2684, allocations: 3.938 kB / 0.9549 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002157/0.2686, allocations: 32.16 kB / 0.9549 GB, free: 3.754 MB / 0.7325 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.0001906/0.2688, allocations: 135.2 kB / 0.955 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.2689, allocations: 39.92 kB / 0.955 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2689, allocations: 0 / 0.955 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.269, allocations: 19.98 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.2692, allocations: 11.94 kB / 0.9551 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.2694, allocations: 129.5 kB / 0.9552 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.2697, allocations: 0.6922 MB / 0.9559 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.2697, allocations: 7.938 kB / 0.9559 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.2697, allocations: 11.44 kB / 0.9559 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2697, allocations: 0 / 0.9559 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of Templates: time 0.00284/0.2726, allocations: 0.8806 MB / 0.9568 GB, free: 1.781 MB / 0.7325 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 -s gbode -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/jenkins1/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