Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.001044/0.001044, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001276/0.001276, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.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.496/2.496, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.000365, allocations: 8 kB / 0.8153 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7556/0.7559, allocations: 142.4 MB / 0.9544 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002629/0.7587, allocations: 1.154 MB / 0.9556 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0004866/0.7592, allocations: 177.9 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.7592, allocations: 0 / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.7593, allocations: 0 / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.7593, allocations: 9.25 kB / 0.9557 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.7596, allocations: 25.41 kB / 0.9558 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.7597, allocations: 18.8 kB / 0.9558 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.7598, allocations: 11.92 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.775e-05/0.7598, allocations: 6.188 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.377e-05/0.7599, allocations: 7.422 kB / 0.9558 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.7599, allocations: 5.344 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.004e-05/0.76, allocations: 31.31 kB / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.76, allocations: 0 / 0.9558 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.7601, allocations: 40.05 kB / 0.9559 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.431e-05/0.7602, allocations: 26.97 kB / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.7602, allocations: 0 / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7602, allocations: 0 / 0.9559 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.7602, allocations: 1.219 kB / 0.9559 GB, free: 6.543 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004533/0.7607, allocations: 342.7 kB / 0.9562 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.7607, allocations: 13.66 kB / 0.9562 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.7608, allocations: 8.984 kB / 0.9562 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.7609, allocations: 164.5 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7609, allocations: 0.9375 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.7609, allocations: 1.438 kB / 0.9564 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.7611, allocations: 57.75 kB / 0.9565 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.7612, allocations: 1.312 kB / 0.9565 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.7612, allocations: 0 / 0.9565 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.7612, allocations: 4 kB / 0.9565 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.7614, allocations: 53.31 kB / 0.9565 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.7617, allocations: 253.2 kB / 0.9568 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.7619, allocations: 44.69 kB / 0.9568 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.762, allocations: 22.5 kB / 0.9568 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.7621, allocations: 87.56 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.7621, allocations: 39.97 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.7621, allocations: 0 / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004006/0.7625, allocations: 99.22 kB / 0.957 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.7626, allocations: 56.97 kB / 0.9571 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.7627, allocations: 96.14 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.7627, allocations: 29.7 kB / 0.9572 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.7627, allocations: 81.55 kB / 0.9573 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.7627, allocations: 9.172 kB / 0.9573 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.7628, allocations: 0 / 0.9573 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.7628, allocations: 316.4 kB / 0.9576 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.7629, allocations: 25.73 kB / 0.9576 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.763, allocations: 21.86 kB / 0.9576 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.7631, allocations: 26.25 kB / 0.9577 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7631, allocations: 4.062 kB / 0.9577 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.7633, allocations: 74.7 kB / 0.9577 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7633, allocations: 5.031 kB / 0.9578 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7633, allocations: 4.922 kB / 0.9578 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.7634, allocations: 0 / 0.9578 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7635, allocations: 21.16 kB / 0.9578 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.7635, allocations: 3.938 kB / 0.9578 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.7635, allocations: 9.797 kB / 0.9578 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.7636, allocations: 5.312 kB / 0.9578 GB, free: 4.637 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.958e-05/0.7636, allocations: 107.6 kB / 0.9579 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.7637, allocations: 4.969 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.7639, allocations: 89.56 kB / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7639, allocations: 0 / 0.958 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.7639, allocations: 9.297 kB / 0.958 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7639, allocations: 3.984 kB / 0.958 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.764, allocations: 153.7 kB / 0.9581 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7641, allocations: 5.125 kB / 0.9582 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.529e-05/0.7641, allocations: 11.83 kB / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7641, allocations: 1.031 kB / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.7641, allocations: 0 / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7641, allocations: 3.969 kB / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7641, allocations: 0 / 0.9582 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.7644, allocations: 178.8 kB / 0.9583 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.7644, allocations: 78.17 kB / 0.9584 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.7644, allocations: 0 / 0.9584 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.7645, allocations: 11.05 kB / 0.9584 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.445e-05/0.7645, allocations: 1.719 kB / 0.9584 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.7645, allocations: 4.031 kB / 0.9584 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.725e-05/0.7646, allocations: 87.08 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7646, allocations: 0 / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00023/0.7648, allocations: 17.64 kB / 0.9585 GB, free: 3.891 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001685/0.765, allocations: 109.3 kB / 0.9586 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.7652, allocations: 52.2 kB / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7652, allocations: 0 / 0.9587 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.861e-05/0.7653, allocations: 23.36 kB / 0.9587 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.7656, allocations: 5.531 kB / 0.9587 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.7659, allocations: 117.5 kB / 0.9588 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.766, allocations: 0.6771 MB / 0.9595 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.7661, allocations: 3.188 kB / 0.9595 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.7661, allocations: 7.438 kB / 0.9595 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7661, allocations: 0 / 0.9595 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of Templates: time 0.002813/0.7689, allocations: 0.4894 MB / 0.96 GB, free: 2.676 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches