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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008025/0.0008026, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005432/0.005432, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.341/1.341, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6015/0.6019, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001402/0.6033, allocations: 1.168 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003857/0.6037, allocations: 196.3 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.6037, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.6037, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.853e-05/0.6038, allocations: 7.922 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.604, allocations: 23.97 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.604, allocations: 27.92 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.6041, allocations: 4 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.185e-05/0.6042, allocations: 3.938 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.888e-05/0.6042, allocations: 19.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.6042, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.483e-05/0.6043, allocations: 31.97 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.6043, allocations: 3.984 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.6044, allocations: 41.62 kB / 1.025 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.127e-05/0.6045, allocations: 35.89 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6045, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6045, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.6045, allocations: 0 / 1.025 GB, free: 14.28 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.000361/0.6048, allocations: 345.8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6049, allocations: 12.03 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.6049, allocations: 34.73 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.791e-05/0.6049, allocations: 0.9375 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.605, allocations: 180.2 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.6051, allocations: 4.375 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.6051, allocations: 384 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.6052, allocations: 61.98 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.14e-06/0.6052, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.6053, allocations: 0 / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.6053, allocations: 4 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.6054, allocations: 43.95 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.6057, allocations: 252.9 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.6058, allocations: 42.5 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/0.6059, allocations: 36.89 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-05/0.606, allocations: 81.11 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.606, allocations: 30.56 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.606, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.6064, allocations: 105.6 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.6064, allocations: 55.34 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.6065, allocations: 101.8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.6065, allocations: 25.7 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.6066, allocations: 84.14 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.6066, allocations: 8.031 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.6066, allocations: 13.72 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.6067, allocations: 314.8 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.6068, allocations: 27.97 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.479e-05/0.6069, allocations: 19.98 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.607, allocations: 52.83 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6071, allocations: 3.938 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002071/0.6073, allocations: 85.5 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.6073, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.6073, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.6073, allocations: 4 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.6074, allocations: 15.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6074, allocations: 3.984 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.835e-05/0.6075, allocations: 12.27 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.6075, allocations: 0 / 1.027 GB, free: 12 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 5.923e-05/0.6075, allocations: 114.3 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.6076, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.6078, allocations: 84.78 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.6078, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6078, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6078, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.608, allocations: 165.5 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.608, allocations: 0 / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.608, allocations: 11.98 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.608, allocations: 4.031 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.608, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6081, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.6081, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.6083, allocations: 175.5 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.6083, allocations: 81.02 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.6083, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.6084, allocations: 7.984 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.6085, allocations: 0 / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.6085, allocations: 4 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.6085, allocations: 83.28 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6085, allocations: 0 / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002135/0.6087, allocations: 16.03 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.0004622/0.6092, allocations: 0.7201 MB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.6094, allocations: 43.97 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.6094, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.6095, allocations: 36 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.6097, allocations: 7.938 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.6101, allocations: 138.4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.6103, allocations: 0.6809 MB / 1.029 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.6104, allocations: 4.062 kB / 1.029 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.6104, allocations: 11.44 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6104, allocations: 0 / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3377/0.9481, allocations: 1.187 MB / 1.03 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.9484, allocations: 200 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/3.097, allocations: 4 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > 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