Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",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.0008725/0.0008726, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005239/0.005239, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.209/1.209, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.127/2.127, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5602, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0005631/0.5608, allocations: 350.4 kB / 0.9555 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.5623, allocations: 1.451 MB / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.759e-05/0.5623, allocations: 0 / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.5623, allocations: 4 kB / 0.9569 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.5624, allocations: 2.219 kB / 0.9569 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.5628, allocations: 163.5 kB / 0.9571 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.5629, allocations: 32.88 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.059e-05/0.5629, allocations: 1.219 kB / 0.9571 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.563, allocations: 17.05 kB / 0.9571 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.563, allocations: 24.28 kB / 0.9572 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.563, allocations: 6.719 kB / 0.9572 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.5633, allocations: 235.9 kB / 0.9574 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.5634, allocations: 10.59 kB / 0.9574 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.5634, allocations: 38.59 kB / 0.9574 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.5636, allocations: 220.1 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5636, allocations: 3.984 kB / 0.9577 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5636, allocations: 0 / 0.9577 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.045e-06/0.5636, allocations: 0 / 0.9577 GB, free: 5.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002343/0.5639, allocations: 385.8 kB / 0.958 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5639, allocations: 14.16 kB / 0.958 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.469e-05/0.564, allocations: 36.17 kB / 0.9581 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.354e-05/0.564, allocations: 3.656 kB / 0.9581 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.902e-05/0.564, allocations: 175.1 kB / 0.9582 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.5641, allocations: 1.75 kB / 0.9582 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.5641, allocations: 2.969 kB / 0.9582 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.5642, allocations: 79.5 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.5642, allocations: 0 / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.5642, allocations: 1.594 kB / 0.9583 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.5642, allocations: 3.938 kB / 0.9583 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.078e-05/0.5643, allocations: 36.12 kB / 0.9584 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.529e-05/0.5644, allocations: 165.1 kB / 0.9585 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/0.5645, allocations: 59.5 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.5645, allocations: 53.7 kB / 0.9586 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-06/0.5645, allocations: 0 / 0.9586 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.5645, allocations: 36.75 kB / 0.9587 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.5645, allocations: 0 / 0.9587 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002395/0.5648, allocations: 204.9 kB / 0.9589 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.5648, allocations: 83.84 kB / 0.9589 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/0.5649, allocations: 114.2 kB / 0.959 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.5649, allocations: 27.08 kB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.5649, allocations: 81.52 kB / 0.9591 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.5649, allocations: 27.77 kB / 0.9592 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.565, allocations: 12.47 kB / 0.9592 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.312e-05/0.565, allocations: 316.2 kB / 0.9595 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.629e-05/0.5651, allocations: 40.75 kB / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.898e-05/0.5651, allocations: 36.72 kB / 0.9596 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.5652, allocations: 143.3 kB / 0.9597 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5652, allocations: 0 / 0.9597 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001389/0.5654, allocations: 150 kB / 0.9598 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.5654, allocations: 37.16 kB / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.5654, allocations: 1.156 kB / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.5654, allocations: 0 / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.5654, allocations: 1.156 kB / 0.9599 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.5654, allocations: 4 kB / 0.9599 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.85e-05/0.5655, allocations: 13.31 kB / 0.9599 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.5655, allocations: 8.656 kB / 0.9599 GB, free: 3.754 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.899e-05/0.5656, allocations: 149.5 kB / 0.96 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.5656, allocations: 7.531 kB / 0.9601 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-06/0.5656, allocations: 6.562 kB / 0.9601 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.5656, allocations: 3.984 kB / 0.9601 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5656, allocations: 0.9375 kB / 0.9601 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.5656, allocations: 0 / 0.9601 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.911e-05/0.5657, allocations: 178.2 kB / 0.9602 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5657, allocations: 4 kB / 0.9602 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.5657, allocations: 5.656 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.5657, allocations: 0 / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5657, allocations: 2.312 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5657, allocations: 1.281 kB / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5658, allocations: 0 / 0.9602 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.5659, allocations: 199.2 kB / 0.9604 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.566, allocations: 90.2 kB / 0.9605 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.566, allocations: 6.562 kB / 0.9605 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.307e-05/0.566, allocations: 13.48 kB / 0.9605 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.566, allocations: 1.969 kB / 0.9605 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.5661, allocations: 5.406 kB / 0.9606 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.789e-05/0.5661, allocations: 92.52 kB / 0.9606 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5661, allocations: 0 / 0.9606 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002618/0.5664, allocations: 73.64 kB / 0.9607 GB, free: 3.016 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004717/0.5668, allocations: 0.7931 MB / 0.9615 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.567, allocations: 200.4 kB / 0.9617 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.567, allocations: 0 / 0.9617 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.5671, allocations: 152.6 kB / 0.9618 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.5673, allocations: 4.375 kB / 0.9618 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.5677, allocations: 235.7 kB / 0.962 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.573e-05/0.5678, allocations: 0.6879 MB / 0.9627 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.078e-06/0.5678, allocations: 0 / 0.9627 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.5678, allocations: 11.44 kB / 0.9627 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5678, allocations: 4.688 kB / 0.9627 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.5918, allocations: 2.843 MB / 0.9655 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.592, allocations: 209.9 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.235, allocations: 4 kB / 0.9657 GB, free: 15.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches