Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008233/0.0008233, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.899/0.899, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.783/1.783, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.981 GB, free: 2.508 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/2.047e-05, allocations: 2.281 kB / 0.981 GB, free: 2.504 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001476/0.001496, allocations: 0.6149 MB / 0.9816 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002349/0.003846, allocations: 1.435 MB / 0.983 GB, free: 448 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.511e-05/0.003891, allocations: 4 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 6.589e-05/0.003957, allocations: 3.938 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.003996, allocations: 0 / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.004723, allocations: 218.5 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.004819, allocations: 39.95 kB / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.004865, allocations: 0 / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.608e-05/0.004911, allocations: 23.92 kB / 0.9833 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.004965, allocations: 19.97 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.004978, allocations: 0 / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.005386, allocations: 263.5 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.02e-05/0.005426, allocations: 8 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.005459, allocations: 11.97 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.005745, allocations: 263.4 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005749, allocations: 4 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.693e-06/0.00575, allocations: 0 / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.00576, allocations: 0 / 0.9838 GB, free: 15.6 MB / 0.948 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.0003418/0.006102, allocations: 323.7 kB / 0.9842 GB, free: 15.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.006145, allocations: 12.03 kB / 0.9842 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.006173, allocations: 34.69 kB / 0.9842 GB, free: 15.19 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.006203, allocations: 8.891 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.137e-05/0.006284, allocations: 121.6 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.006296, allocations: 8.359 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.006305, allocations: 4.375 kB / 0.9843 GB, free: 15.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.00645, allocations: 107.9 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.006456, allocations: 4.188 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.006466, allocations: 4.125 kB / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.00647, allocations: 0 / 0.9845 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.006525, allocations: 65.67 kB / 0.9845 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.006637, allocations: 128.8 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.095e-05/0.006718, allocations: 88.19 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.006771, allocations: 70.56 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.006778, allocations: 0 / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.0068, allocations: 34.56 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.006801, allocations: 0 / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002659/0.007067, allocations: 258.8 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.007101, allocations: 77.11 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.007171, allocations: 125.8 kB / 0.9853 GB, free: 13.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.007182, allocations: 29.64 kB / 0.9853 GB, free: 13.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.007211, allocations: 84.14 kB / 0.9854 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.007245, allocations: 27.73 kB / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.007278, allocations: 25.7 kB / 0.9854 GB, free: 13.76 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/0.007356, allocations: 314.8 kB / 0.9857 GB, free: 13.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.007412, allocations: 65.83 kB / 0.9858 GB, free: 13.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.633e-05/0.007458, allocations: 69.66 kB / 0.9858 GB, free: 13.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.007564, allocations: 144.3 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007566, allocations: 4 kB / 0.986 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001483/0.007714, allocations: 185 kB / 0.9862 GB, free: 12.94 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.007744, allocations: 33.7 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.00775, allocations: 3.984 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.007762, allocations: 3.938 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.007764, allocations: 3.938 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007769, allocations: 0 / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.007879, allocations: 8 kB / 0.9862 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.007898, allocations: 8 kB / 0.9862 GB, free: 12.87 MB / 0.948 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 7.346e-05/0.007971, allocations: 155.5 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.00798, allocations: 4 kB / 0.9864 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.017e-05/0.00799, allocations: 8.438 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007993, allocations: 3.938 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.007997, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.007999, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.904e-05/0.008068, allocations: 132.7 kB / 0.9865 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.00807, allocations: 4 kB / 0.9865 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.00807, allocations: 0 / 0.9865 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.008073, allocations: 3.984 kB / 0.9865 GB, free: 12.51 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.008083, allocations: 8 kB / 0.9865 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.008085, allocations: 7.938 kB / 0.9865 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008086, allocations: 0 / 0.9865 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.008265, allocations: 220.5 kB / 0.9867 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-06/0.008273, allocations: 7.891 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.008286, allocations: 15.92 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.008316, allocations: 7.938 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.008333, allocations: 4 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.008342, allocations: 7.984 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.008377, allocations: 87.28 kB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008378, allocations: 0 / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002517/0.008629, allocations: 75.92 kB / 0.9869 GB, free: 12.04 MB / 0.948 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.0005519/0.009181, allocations: 0.8349 MB / 0.9878 GB, free: 11.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.009402, allocations: 226.6 kB / 0.988 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009404, allocations: 0 / 0.988 GB, free: 10.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.009489, allocations: 149 kB / 0.9881 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.009659, allocations: 15.88 kB / 0.9881 GB, free: 10.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.01005, allocations: 259.4 kB / 0.9884 GB, free: 10.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.948e-05/0.0101, allocations: 75.19 kB / 0.9885 GB, free: 10.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.19e-06/0.0101, allocations: 160 / 0.9885 GB, free: 10.35 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.01013, allocations: 16.5 kB / 0.9885 GB, free: 10.34 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01013, allocations: 0 / 0.9885 GB, free: 10.34 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.0272, allocations: 3.789 MB / 0.9922 GB, free: 6.703 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/6.837, allocations: 10.19 kB / 0.9922 GB, free: 6.695 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.871874918229878]