Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_10_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.001053/0.001053, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007943/0.007944, allocations: 170 kB / 16.26 MB, free: 6.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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.558/2.558, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 16 kB / 0.8728 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7548, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001908/0.7567, allocations: 1.168 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004999/0.7572, allocations: 188.3 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.7573, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.7573, allocations: 3.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.396e-05/0.7574, allocations: 7.984 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.7576, allocations: 31.91 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.92e-05/0.7577, allocations: 15.98 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.7578, allocations: 15.98 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.215e-05/0.7579, allocations: 7.938 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.7579, allocations: 15.92 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.7579, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.758, allocations: 35.95 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.7581, allocations: 3.938 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.7581, allocations: 37.62 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.7583, allocations: 35.89 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.7584, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7584, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.7584, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 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.0005645/0.7589, allocations: 349.5 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.759, allocations: 8.031 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.759, allocations: 0.9375 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.7592, allocations: 180.2 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7592, allocations: 384 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.7592, allocations: 384 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.7594, allocations: 62.23 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7595, allocations: 192 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.7595, allocations: 3.938 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7595, allocations: 0 / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001877/0.7597, allocations: 47.91 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004319/0.7601, allocations: 252.9 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.7603, allocations: 46.5 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.7604, allocations: 28.89 kB / 1.025 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/0.7605, allocations: 81.11 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.7605, allocations: 30.56 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.7605, allocations: 0 / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003808/0.7609, allocations: 105.6 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.761, allocations: 51.41 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.761, allocations: 101.8 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.7611, allocations: 29.7 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.052e-05/0.7611, allocations: 88.27 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.7611, allocations: 3.906 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.7612, allocations: 9.719 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7613, allocations: 318.8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.167e-05/0.7614, allocations: 23.97 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.7615, allocations: 23.98 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.7617, allocations: 52.77 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7617, allocations: 0 / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.7619, allocations: 89.5 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7619, allocations: 4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.7619, allocations: 4 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.7619, allocations: 256 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.762, allocations: 11.98 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.7621, allocations: 8.031 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.7621, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.7621, allocations: 4 kB / 1.026 GB, free: 12.02 MB / 0.7794 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 9.704e-05/0.7622, allocations: 117.8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.7623, allocations: 4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002703/0.7625, allocations: 84.72 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7626, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7626, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.7626, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.7628, allocations: 161.6 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7628, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.7629, allocations: 16.03 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.7629, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.7629, allocations: 4 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7629, allocations: 3.984 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7629, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.7632, allocations: 175.4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.7633, allocations: 85.02 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.7633, allocations: 0 / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.7634, allocations: 11.94 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7634, allocations: 11.97 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.7634, allocations: 0 / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001641/0.7636, allocations: 83.31 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7636, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002727/0.7639, allocations: 8 kB / 1.027 GB, free: 11.16 MB / 0.7794 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.0001864/0.7641, allocations: 119.2 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.7643, allocations: 47.97 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7643, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.7644, allocations: 19.98 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.7648, allocations: 18.11 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.7651, allocations: 112.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.7654, allocations: 0.6809 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.7654, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.7655, allocations: 7.438 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of SimCode: time 4.4e-07/0.7655, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.002791/0.7683, allocations: 0.4989 MB / 1.029 GB, free: 9.609 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches