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.004667/0.004667, allocations: 103 kB / 15.73 MB, free: 6.059 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.001101/0.001101, allocations: 187.8 kB / 16.67 MB, free: 5.98 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: 15.15 MB / 206.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.247/2.247, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 59.89 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9196, allocations: 140.4 MB / 1.087 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002616/0.9222, allocations: 1.438 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005077/0.9227, allocations: 197 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.14e-05/0.9228, allocations: 3.938 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.9229, allocations: 5.125 kB / 1.089 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.923, allocations: 8.594 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.9233, allocations: 34.05 kB / 1.089 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.9234, allocations: 24.25 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.9235, allocations: 8.734 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.801e-05/0.9236, allocations: 9.438 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.9237, allocations: 13.98 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.9237, allocations: 2.156 kB / 1.089 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.9238, allocations: 33.73 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.9238, allocations: 1.5 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.9239, allocations: 14.58 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.924, allocations: 45.39 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.924, allocations: 1.125 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.924, allocations: 0 / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.9241, allocations: 3.938 kB / 1.089 GB, free: 3.895 MB / 0.8575 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.000463/0.9245, allocations: 344.2 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.9246, allocations: 10.08 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.9246, allocations: 30.75 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.9247, allocations: 3.406 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.9248, allocations: 175.5 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.9248, allocations: 1.156 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.9248, allocations: 1.406 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.9251, allocations: 53.67 kB / 1.09 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9251, allocations: 3.938 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.9251, allocations: 1.094 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.9251, allocations: 0.5156 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.9253, allocations: 41.94 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.9257, allocations: 246.6 kB / 1.09 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.9258, allocations: 44.77 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.9259, allocations: 24.36 kB / 1.09 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.105e-05/0.926, allocations: 80.47 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.9261, allocations: 36.27 kB / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.9261, allocations: 0 / 1.09 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004014/0.9265, allocations: 80.67 kB / 1.09 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.9265, allocations: 51.97 kB / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.882e-05/0.9266, allocations: 107.8 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.9266, allocations: 25.83 kB / 1.091 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.9266, allocations: 85.75 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.9266, allocations: 9.406 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/0.9267, allocations: 13.38 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.9267, allocations: 317.1 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.9268, allocations: 17.5 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.82e-05/0.9269, allocations: 15.27 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.9271, allocations: 41.27 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9271, allocations: 3.938 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.9273, allocations: 67.64 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.9273, allocations: 5.547 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.9273, allocations: 1.094 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.9273, allocations: 0 / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.9274, allocations: 12.52 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9274, allocations: 5.828 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.9275, allocations: 4.969 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.9275, allocations: 1.734 kB / 1.091 GB, free: 2.043 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 4.201e-05/0.9275, allocations: 112 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.9276, allocations: 1.844 kB / 1.091 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.9278, allocations: 79.84 kB / 1.091 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9278, allocations: 4.453 kB / 1.091 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9278, allocations: 5.047 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.9278, allocations: 0.5625 kB / 1.091 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.9279, allocations: 165 kB / 1.091 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.928, allocations: 0 / 1.091 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-05/0.928, allocations: 13.36 kB / 1.091 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.928, allocations: 0 / 1.091 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.928, allocations: 1.125 kB / 1.091 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.928, allocations: 0.5156 kB / 1.091 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.928, allocations: 9.125 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.9283, allocations: 162.9 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.9283, allocations: 78.89 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.9283, allocations: 0.8438 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.9284, allocations: 6.188 kB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.9284, allocations: 10.06 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.9284, allocations: 1.922 kB / 1.092 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.587e-05/0.9285, allocations: 85.16 kB / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9285, allocations: 0 / 1.092 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002547/0.9287, allocations: 9.062 kB / 1.092 GB, free: 1.336 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.0006897/0.9294, allocations: 0.7096 MB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.9297, allocations: 40.5 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9297, allocations: 0 / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.9298, allocations: 17 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.9301, allocations: 11.16 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004506/0.9306, allocations: 145.8 kB / 1.093 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.9308, allocations: 0.6775 MB / 1.093 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.9308, allocations: 0.7188 kB / 1.093 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.9309, allocations: 9.281 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.9309, allocations: 1.094 kB / 1.093 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.9515, allocations: 1.455 MB / 1.095 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.164/8.115, allocations: 7.938 kB / 1.095 GB, free: 15.39 MB / 0.8731 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