Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 108 kB / 15.6 MB, free: 132 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.001544/0.001544, allocations: 195.1 kB / 16.54 MB, free: 6.672 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.11 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3319, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002996/0.3349, allocations: 1.44 MB / 1.07 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004731/0.3354, allocations: 183.5 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.3355, allocations: 8 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.3355, allocations: 3.984 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.3356, allocations: 7.922 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.3359, allocations: 31.91 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.705e-05/0.3359, allocations: 23.94 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.336, allocations: 11.91 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.3361, allocations: 8 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.3361, allocations: 15.91 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3361, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.3362, allocations: 35.97 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3363, allocations: 4 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.3363, allocations: 15.92 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.3364, allocations: 39.88 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3364, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3364, allocations: 0 / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.3365, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004577/0.3369, allocations: 343.7 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.337, allocations: 15.97 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.362e-05/0.337, allocations: 4.938 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3371, allocations: 164.4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3371, allocations: 4.375 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3372, allocations: 384 / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3374, allocations: 50.23 kB / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3374, allocations: 192 / 1.071 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3374, allocations: 3.938 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3374, allocations: 0 / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.3376, allocations: 35.97 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.3379, allocations: 256.8 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.338, allocations: 38.5 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.3381, allocations: 20.91 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/0.3382, allocations: 85.09 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.3383, allocations: 38.56 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.3383, allocations: 3.938 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.3387, allocations: 81.58 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.3387, allocations: 51.41 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.3388, allocations: 102 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.3388, allocations: 25.7 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.3389, allocations: 92.12 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.3389, allocations: 3.906 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.3389, allocations: 13.72 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3391, allocations: 314.8 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.3392, allocations: 11.98 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.651e-05/0.3393, allocations: 31.91 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.3395, allocations: 32.83 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3395, allocations: 0 / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002149/0.3397, allocations: 73.53 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3397, allocations: 5.719 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3397, allocations: 4.094 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3397, allocations: 4 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.3398, allocations: 7.984 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.3399, allocations: 8 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.3399, allocations: 0 / 1.072 GB, free: 6.508 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.25e-05/0.34, allocations: 118.3 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.34, allocations: 3.906 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.3403, allocations: 80.72 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3403, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3403, allocations: 256 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3403, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.3405, allocations: 169.5 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3405, allocations: 4 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.3405, allocations: 4 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3405, allocations: 0 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.3406, allocations: 32 / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3406, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3406, allocations: 7.984 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3408, allocations: 159.5 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.3409, allocations: 85.08 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3409, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.341, allocations: 8.031 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.341, allocations: 3.984 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.341, allocations: 3.938 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.3411, allocations: 83.28 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3411, allocations: 0 / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002401/0.3413, allocations: 15.94 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001501/0.3415, allocations: 103.2 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3417, allocations: 39.97 kB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3417, allocations: 3.938 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-05/0.3418, allocations: 19.98 kB / 1.073 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3421, allocations: 10.16 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.3425, allocations: 121.3 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.3427, allocations: 0.6769 MB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.512e-05/0.3428, allocations: 4 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.3428, allocations: 7.438 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3428, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of Templates: time 0.002916/0.3457, allocations: 0.5763 MB / 1.074 GB, free: 4.055 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches