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.0007649/0.0007649, allocations: 97.64 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.004124/0.004125, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.216/1.216, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.118/2.118, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003069, allocations: 8 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5836, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001351/0.585, allocations: 1.158 MB / 0.9563 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.5855, allocations: 190.3 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.507e-05/0.5855, allocations: 1.062 kB / 0.9565 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.5855, allocations: 4 kB / 0.9565 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.05e-05/0.5856, allocations: 5.125 kB / 0.9565 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.5858, allocations: 32.58 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.5858, allocations: 20.52 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.787e-05/0.5859, allocations: 7.75 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.519e-05/0.586, allocations: 7.031 kB / 0.9566 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.586, allocations: 10.95 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.586, allocations: 0.9375 kB / 0.9566 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.5861, allocations: 31.72 kB / 0.9566 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.5861, allocations: 16.92 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.5862, allocations: 31.84 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.5863, allocations: 33.83 kB / 0.9567 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5863, allocations: 1 kB / 0.9567 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5863, allocations: 0 / 0.9567 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.5863, allocations: 0 / 0.9567 GB, free: 6.473 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.0003273/0.5866, allocations: 343.9 kB / 0.957 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5867, allocations: 13.38 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.487e-05/0.5867, allocations: 39.69 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.5867, allocations: 2.094 kB / 0.9571 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.791e-05/0.5868, allocations: 174.5 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.5868, allocations: 384 / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.5868, allocations: 5.688 kB / 0.9572 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.587, allocations: 55.36 kB / 0.9573 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.587, allocations: 3.938 kB / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.587, allocations: 4 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.587, allocations: 1.125 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.5872, allocations: 39.81 kB / 0.9573 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.5875, allocations: 261.7 kB / 0.9576 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.5876, allocations: 40.53 kB / 0.9576 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.5877, allocations: 31.33 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/0.5878, allocations: 80.61 kB / 0.9577 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.5878, allocations: 34.56 kB / 0.9578 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.5878, allocations: 1.188 kB / 0.9578 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003449/0.5881, allocations: 102.7 kB / 0.9579 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.5882, allocations: 52.5 kB / 0.9579 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.5882, allocations: 103.7 kB / 0.958 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-06/0.5882, allocations: 26.98 kB / 0.958 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.5883, allocations: 85.45 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.5883, allocations: 5.062 kB / 0.9581 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5883, allocations: 9.719 kB / 0.9581 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.502e-05/0.5884, allocations: 319.8 kB / 0.9584 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.5884, allocations: 26.41 kB / 0.9585 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.331e-05/0.5885, allocations: 18.2 kB / 0.9585 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.5887, allocations: 54.33 kB / 0.9585 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5887, allocations: 3.938 kB / 0.9585 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.5889, allocations: 87.02 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.5889, allocations: 4 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5889, allocations: 1.562 kB / 0.9586 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.5889, allocations: 3.938 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.589, allocations: 12.77 kB / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.589, allocations: 0 / 0.9586 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.5891, allocations: 11.22 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5891, allocations: 8.016 kB / 0.9587 GB, free: 4.484 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.555e-05/0.5891, allocations: 114.9 kB / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.5892, allocations: 2.094 kB / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.5894, allocations: 83.97 kB / 0.9588 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5894, allocations: 6.156 kB / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5894, allocations: 0 / 0.9588 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5894, allocations: 4 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.5895, allocations: 163.5 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.5895, allocations: 0 / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.5896, allocations: 8.312 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.5896, allocations: 0 / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5896, allocations: 9.203 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5896, allocations: 0 / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5896, allocations: 4.031 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.5898, allocations: 169.1 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.649e-05/0.5898, allocations: 78.39 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.5899, allocations: 5.406 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.5899, allocations: 9.406 kB / 0.9593 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.59, allocations: 5.766 kB / 0.9593 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.59, allocations: 5.531 kB / 0.9593 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.057e-05/0.59, allocations: 77.97 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.59, allocations: 1.406 kB / 0.9594 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002134/0.5902, allocations: 12.88 kB / 0.9594 GB, free: 3.746 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.0003908/0.5906, allocations: 0.7142 MB / 0.9601 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.5908, allocations: 51.97 kB / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.5908, allocations: 0 / 0.9601 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.5909, allocations: 32.06 kB / 0.9602 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.5912, allocations: 5.781 kB / 0.9602 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003102/0.5915, allocations: 146.5 kB / 0.9603 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.918e-05/0.5916, allocations: 0.6731 MB / 0.961 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.5916, allocations: 5.297 kB / 0.961 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.5916, allocations: 8.781 kB / 0.961 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.5916, allocations: 4.062 kB / 0.961 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009828/0.6015, allocations: 1.188 MB / 0.9621 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.6016, allocations: 197 kB / 0.9623 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.087, allocations: 0 / 0.9623 GB, free: 1.328 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