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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001367/0.001367, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.343/2.343, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4929, allocations: 140.4 MB / 0.949 GB, free: 9.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001916/0.4948, allocations: 1.495 MB / 0.9505 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000319/0.4952, allocations: 196.2 kB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.4952, allocations: 0 / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.4952, allocations: 3.938 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.4953, allocations: 1.344 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.4954, allocations: 32.12 kB / 0.9507 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.053e-05/0.4955, allocations: 21.45 kB / 0.9507 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.4956, allocations: 12.11 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.4956, allocations: 6.688 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.4956, allocations: 12.11 kB / 0.9508 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.689e-06/0.4956, allocations: 5.312 kB / 0.9508 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.4957, allocations: 31.09 kB / 0.9508 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.4957, allocations: 5.312 kB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.4958, allocations: 17.23 kB / 0.9508 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.078e-05/0.4958, allocations: 34.94 kB / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4958, allocations: 0 / 0.9509 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.22e-07/0.4959, allocations: 4 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.4959, allocations: 1.375 kB / 0.9509 GB, free: 7.605 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.0002849/0.4962, allocations: 344.8 kB / 0.9512 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.4962, allocations: 9.625 kB / 0.9512 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.871e-05/0.4962, allocations: 30.75 kB / 0.9512 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.923e-05/0.4962, allocations: 2.312 kB / 0.9512 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.504e-05/0.4963, allocations: 173.6 kB / 0.9514 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.4963, allocations: 5.688 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.4963, allocations: 5.75 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.4965, allocations: 49.23 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.4965, allocations: 3.938 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.4965, allocations: 1.375 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4965, allocations: 0 / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.4966, allocations: 35.16 kB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000196/0.4968, allocations: 257.2 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.4969, allocations: 40.25 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.497, allocations: 22.45 kB / 0.9518 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/0.4971, allocations: 79.86 kB / 0.9519 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.4971, allocations: 42.5 kB / 0.9519 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4971, allocations: 4 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002832/0.4974, allocations: 77.27 kB / 0.952 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.416e-05/0.4974, allocations: 52.78 kB / 0.9521 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.068e-05/0.4975, allocations: 103.3 kB / 0.9522 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.4975, allocations: 27.08 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.4975, allocations: 85.52 kB / 0.9523 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.4975, allocations: 8.031 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.4975, allocations: 12.47 kB / 0.9523 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.041e-05/0.4976, allocations: 316.2 kB / 0.9526 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.4977, allocations: 17.59 kB / 0.9526 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.4977, allocations: 17.61 kB / 0.9526 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.4979, allocations: 42.7 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4979, allocations: 5.312 kB / 0.9527 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001577/0.498, allocations: 68.88 kB / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/0.498, allocations: 4.5 kB / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.498, allocations: 0 / 0.9527 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.4981, allocations: 5.625 kB / 0.9527 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.19e-05/0.4981, allocations: 9.391 kB / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4981, allocations: 0 / 0.9527 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.4982, allocations: 12.2 kB / 0.9528 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.4982, allocations: 9.469 kB / 0.9528 GB, free: 5.629 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.4982, allocations: 111.3 kB / 0.9529 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.4983, allocations: 1.75 kB / 0.9529 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.4985, allocations: 77.75 kB / 0.9529 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4985, allocations: 1.281 kB / 0.9529 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.4985, allocations: 4.031 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4985, allocations: 1.844 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.4986, allocations: 162.4 kB / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4986, allocations: 0 / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.963e-05/0.4986, allocations: 5.25 kB / 0.9531 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4987, allocations: 5.391 kB / 0.9531 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.4987, allocations: 0 / 0.9531 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4987, allocations: 0 / 0.9531 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4987, allocations: 1.156 kB / 0.9531 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.4988, allocations: 172 kB / 0.9533 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.4989, allocations: 82.11 kB / 0.9534 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.4989, allocations: 1.25 kB / 0.9534 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.499, allocations: 8.172 kB / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.499, allocations: 1.125 kB / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.499, allocations: 0 / 0.9534 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.499, allocations: 87.62 kB / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.499, allocations: 0 / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000207/0.4992, allocations: 10.75 kB / 0.9535 GB, free: 4.895 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 (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.0003259/0.4996, allocations: 0.707 MB / 0.9542 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.4997, allocations: 38.34 kB / 0.9542 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.4998, allocations: 0 / 0.9542 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.4998, allocations: 23.12 kB / 0.9542 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.5001, allocations: 1.719 kB / 0.9542 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.5004, allocations: 149.2 kB / 0.9544 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.942e-05/0.5004, allocations: 0.6776 MB / 0.955 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.032e-05/0.5005, allocations: 1.062 kB / 0.955 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.5005, allocations: 12.94 kB / 0.955 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.5005, allocations: 0 / 0.955 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.57/2.07, allocations: 1.255 MB / 0.9563 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/2.07, allocations: 197.4 kB / 0.9564 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/3.975, allocations: 3.938 kB / 0.9565 GB, free: 2.387 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches