Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 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.001097/0.001097, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.331/1.331, 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 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7104 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.002071, allocations: 67.91 kB / 0.8693 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6152, allocations: 151.6 MB / 1.017 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002748/0.618, allocations: 1.431 MB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003949/0.6184, allocations: 204.2 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.6184, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.6185, allocations: 3.938 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.594e-05/0.6185, allocations: 3.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.6188, allocations: 39.84 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.541e-05/0.6189, allocations: 16 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.6189, allocations: 15.97 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.47e-05/0.619, allocations: 7.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.619, allocations: 11.92 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.619, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.033e-05/0.6191, allocations: 31.97 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.6191, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.6192, allocations: 19.86 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.6193, allocations: 43.88 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6193, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6193, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.6193, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 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.0003871/0.6197, allocations: 341.7 kB / 1.02 GB, free: 404 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6198, allocations: 11.98 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.6198, allocations: 30.75 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.6198, allocations: 8.844 kB / 1.02 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.6199, allocations: 168.3 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.62, allocations: 384 / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.62, allocations: 8.375 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.6201, allocations: 46.23 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.6202, allocations: 7.938 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.6202, allocations: 4 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.6202, allocations: 0 / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.6203, allocations: 31.91 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.6206, allocations: 257 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6208, allocations: 38.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.209e-05/0.6209, allocations: 16.91 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.621, allocations: 85.09 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.621, allocations: 34.56 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.621, allocations: 7.984 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003373/0.6213, allocations: 85.48 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6214, allocations: 51.41 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.6214, allocations: 101.9 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.6215, allocations: 25.7 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.6215, allocations: 88.12 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.6215, allocations: 8.031 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.6216, allocations: 13.72 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.6217, allocations: 318.8 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.6218, allocations: 15.98 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.6218, allocations: 19.97 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.622, allocations: 44.83 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.622, allocations: 7.875 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001882/0.6222, allocations: 65.66 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6222, allocations: 6.031 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6222, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.6223, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.215e-05/0.6223, allocations: 11.98 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6224, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.6224, allocations: 8.031 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.6224, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 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 6.535e-05/0.6225, allocations: 117.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.6225, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.6227, allocations: 72.72 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6228, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6228, allocations: 8.031 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.6228, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.6229, allocations: 157.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6229, allocations: 3.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.623, allocations: 8 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.623, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.623, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.623, allocations: 4.234 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.623, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.6232, allocations: 179.3 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.6233, allocations: 81.09 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.6233, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.6234, allocations: 4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.6234, allocations: 7.984 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.6234, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.642e-05/0.6235, allocations: 87.31 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6235, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002262/0.6237, allocations: 12 kB / 1.022 GB, free: 13.77 MB / 0.7794 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.0005037/0.6242, allocations: 0.7085 MB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.6244, allocations: 39.91 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6244, allocations: 0 / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-05/0.6245, allocations: 19.98 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.6248, allocations: 11.86 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.6252, allocations: 139.3 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.6254, allocations: 0.6768 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.6254, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.6255, allocations: 11.44 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.6255, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.6415, allocations: 1.412 MB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.72, allocations: 7.984 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches