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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5857, allocations: 140.4 MB / 0.9497 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002296/0.588, allocations: 1.426 MB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003314/0.5884, allocations: 194.9 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.5884, allocations: 0 / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.5884, allocations: 5.312 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.5885, allocations: 0 / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.5887, allocations: 41.58 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.309e-05/0.5888, allocations: 21.61 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.5889, allocations: 6.75 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.5889, allocations: 8.062 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.637e-05/0.589, allocations: 14.73 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.589, allocations: 6.688 kB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.5891, allocations: 36.41 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.5891, allocations: 7.984 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.5891, allocations: 10.67 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.5892, allocations: 34.95 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5892, allocations: 0 / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5892, allocations: 0 / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.5893, allocations: 1.375 kB / 0.9515 GB, free: 7.691 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.0003501/0.5896, allocations: 352.5 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5897, allocations: 8.875 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.5897, allocations: 35.95 kB / 0.9519 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.5897, allocations: 6.125 kB / 0.9519 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.983e-05/0.5898, allocations: 171 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.5898, allocations: 384 / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.5898, allocations: 1.469 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.59, allocations: 49.42 kB / 0.9521 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.59, allocations: 5.188 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.59, allocations: 4 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.5901, allocations: 0 / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.5902, allocations: 39.39 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.5905, allocations: 244.9 kB / 0.9524 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.5906, allocations: 39.41 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.5907, allocations: 27.8 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.723e-05/0.5908, allocations: 82.75 kB / 0.9525 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.5908, allocations: 35.88 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5908, allocations: 0 / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003882/0.5912, allocations: 81.98 kB / 0.9526 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.5912, allocations: 55.44 kB / 0.9527 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.496e-05/0.5913, allocations: 105.1 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.5913, allocations: 25.7 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.5913, allocations: 89.23 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.5914, allocations: 0 / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.5914, allocations: 12.69 kB / 0.9529 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.5914, allocations: 320 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.5915, allocations: 17.14 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.5916, allocations: 17.86 kB / 0.9532 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.5917, allocations: 39.27 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5917, allocations: 3.938 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001747/0.5919, allocations: 74 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.5919, allocations: 6.406 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.592, allocations: 0 / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.592, allocations: 0 / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.5921, allocations: 14.73 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5921, allocations: 0 / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.641e-05/0.5921, allocations: 8.203 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.5921, allocations: 1.125 kB / 0.9534 GB, free: 5.723 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 4.332e-05/0.5922, allocations: 119 kB / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.5922, allocations: 5.375 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.5924, allocations: 79.2 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5924, allocations: 1.219 kB / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5924, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5924, allocations: 0 / 0.9536 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.5925, allocations: 163.2 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5926, allocations: 0 / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.5926, allocations: 18.02 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.5926, allocations: 0 / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.5926, allocations: 1.656 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5926, allocations: 0 / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5926, allocations: 0 / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.5928, allocations: 172.3 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.5929, allocations: 85.05 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.5929, allocations: 1.469 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.5929, allocations: 6.672 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.593, allocations: 1.594 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.593, allocations: 1.281 kB / 0.954 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.593, allocations: 83.38 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.593, allocations: 0 / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002169/0.5932, allocations: 9.812 kB / 0.9541 GB, free: 4.973 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.0003597/0.5936, allocations: 0.7074 MB / 0.9548 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.5938, allocations: 37.88 kB / 0.9548 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5938, allocations: 4.094 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.5939, allocations: 23.47 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.5941, allocations: 4.406 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.5945, allocations: 129.2 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.621e-05/0.5946, allocations: 0.6807 MB / 0.9556 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.165e-05/0.5946, allocations: 9.188 kB / 0.9556 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.5946, allocations: 16.66 kB / 0.9557 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of SimCode: time 7.42e-07/0.5947, allocations: 1.188 kB / 0.9557 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02054/0.6152, allocations: 1.41 MB / 0.957 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.074/7.689, allocations: 17.39 kB / 0.9571 GB, free: 2.57 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