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.00135/0.00135, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.00141/0.00141, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.339/1.339, 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 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8192, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002976/0.8222, allocations: 1.43 MB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004724/0.8227, allocations: 198.7 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.8228, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.973e-05/0.8228, allocations: 3.938 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.781e-05/0.8229, allocations: 7.922 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.8232, allocations: 39.89 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.496e-05/0.8233, allocations: 16 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.8234, allocations: 7.984 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.547e-05/0.8234, allocations: 15.88 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.8235, allocations: 7.984 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.8235, allocations: 4 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.8236, allocations: 31.97 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.8236, allocations: 11.92 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.8236, allocations: 15.92 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.8238, allocations: 39.89 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.8238, allocations: 0 / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8238, allocations: 0 / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.8238, allocations: 0 / 1.169 GB, free: 1.977 MB / 0.8887 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.0004284/0.8242, allocations: 351.2 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8243, allocations: 8.922 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.8243, allocations: 0.9375 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.8244, allocations: 168.4 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.8245, allocations: 384 / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.8245, allocations: 384 / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.8246, allocations: 50.23 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8247, allocations: 192 / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8247, allocations: 3.938 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.8247, allocations: 8 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.8249, allocations: 31.91 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.8252, allocations: 256.9 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.8253, allocations: 42.5 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.8254, allocations: 24.89 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.8256, allocations: 85.09 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.8256, allocations: 38.5 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.8256, allocations: 0 / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003549/0.826, allocations: 77.64 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.826, allocations: 55.53 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.8261, allocations: 105.9 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.8261, allocations: 25.7 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.8262, allocations: 88.12 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.8262, allocations: 3.906 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.8262, allocations: 13.72 kB / 1.17 GB, free: 352 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8264, allocations: 314.8 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-05/0.8264, allocations: 15.98 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.8265, allocations: 23.97 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.8267, allocations: 40.77 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8267, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.8269, allocations: 65.59 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.8269, allocations: 12.09 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8269, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.827, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.8271, allocations: 11.98 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.8271, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.8271, allocations: 7.938 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.8271, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 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 8.116e-05/0.8272, allocations: 113.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.8273, allocations: 15.84 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.8275, allocations: 74.55 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.8275, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8275, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.8275, allocations: 4 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.8277, allocations: 161.6 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8277, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/0.8278, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8278, allocations: 4.031 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.8278, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.8278, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8278, allocations: 3.984 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.828, allocations: 163.4 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.8281, allocations: 81.09 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.8281, allocations: 4.031 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.8282, allocations: 4 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.8282, allocations: 7.984 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.8282, allocations: 256 / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.8283, allocations: 87.28 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8283, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000233/0.8285, allocations: 12 kB / 1.172 GB, free: 15.01 MB / 0.9044 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.0001776/0.8287, allocations: 107.2 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.8289, allocations: 35.97 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8289, allocations: 0 / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.829, allocations: 23.92 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.8293, allocations: 11.92 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.8297, allocations: 135.2 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.8299, allocations: 0.6768 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.83, allocations: 7.438 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of SimCode: time 1.9e-07/0.83, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.002088/0.8321, allocations: 0.6757 MB / 1.173 GB, free: 13.27 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches