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.006919/0.006919, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001623/0.001623, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.308/2.308, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.22 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.265, allocations: 140.4 MB / 1.087 GB, free: 1.941 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.00262/0.2676, allocations: 1.434 MB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004134/0.268, allocations: 192.3 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.2681, allocations: 4 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.2681, allocations: 0 / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.925e-05/0.2682, allocations: 3.938 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.2685, allocations: 35.89 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.2685, allocations: 31.86 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.855e-05/0.2686, allocations: 0 / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.2687, allocations: 11.98 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.624e-05/0.2687, allocations: 11.94 kB / 1.089 GB, free: 212 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2687, allocations: 7.984 kB / 1.089 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.673e-05/0.2688, allocations: 35.95 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.2689, allocations: 4 kB / 1.089 GB, free: 164 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.2689, allocations: 15.94 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.269, allocations: 39.81 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.269, allocations: 0 / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.835e-06/0.269, allocations: 3.984 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.269, allocations: 4 kB / 1.089 GB, free: 100 kB / 0.8419 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.0004586/0.2695, allocations: 350.2 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2696, allocations: 12.03 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.2696, allocations: 30.75 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.2696, allocations: 0.9375 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.518e-05/0.2697, allocations: 164.4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.2697, allocations: 384 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.2697, allocations: 384 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.2699, allocations: 50.23 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2699, allocations: 3.938 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.27, allocations: 4 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.27, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.2701, allocations: 39.95 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.2704, allocations: 252.8 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.2706, allocations: 42.48 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.2706, allocations: 32.91 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.041e-05/0.2707, allocations: 81.11 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.2708, allocations: 30.56 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2708, allocations: 0 / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003453/0.2711, allocations: 85.7 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.2712, allocations: 55.41 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.2713, allocations: 97.84 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.2713, allocations: 37.64 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.2713, allocations: 80.7 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.2714, allocations: 8.125 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.2714, allocations: 21.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.2715, allocations: 310.8 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.2716, allocations: 15.98 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.411e-05/0.2717, allocations: 19.98 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2718, allocations: 36.81 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2719, allocations: 7.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.272, allocations: 65.67 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2721, allocations: 8 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2721, allocations: 3.984 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2721, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.105e-05/0.2722, allocations: 8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.2722, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.2722, allocations: 7.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.2723, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 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 0.0001142/0.2724, allocations: 117.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.2724, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.2726, allocations: 80.62 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2726, allocations: 3.984 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2727, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2727, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2728, allocations: 161.6 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2728, allocations: 0 / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.56e-05/0.2729, allocations: 12.02 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2729, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.2729, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2729, allocations: 4 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2729, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.2731, allocations: 163.5 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.2732, allocations: 81.14 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2732, allocations: 4.188 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.2733, allocations: 11.98 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.2733, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.2733, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.2734, allocations: 91.2 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2734, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002279/0.2736, allocations: 8 kB / 1.092 GB, free: 13.09 MB / 0.8575 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.0005297/0.2742, allocations: 0.7007 MB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2744, allocations: 39.89 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2744, allocations: 4.094 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.304e-05/0.2745, allocations: 19.98 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.2748, allocations: 5.562 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.2752, allocations: 144.6 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.2754, allocations: 0.6768 MB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.2754, allocations: 4 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.2755, allocations: 15.48 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.2755, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.2916, allocations: 1.439 MB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.189, allocations: 3.344 kB / 1.095 GB, free: 10.04 MB / 0.8575 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