Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00084/0.00084, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009502/0.0009502, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9103/0.9103, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.69/1.69, allocations: 359 MB / 0.6037 GB, free: 11.06 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9505 GB, free: 3.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.47e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001545/0.00157, allocations: 0.6214 MB / 0.9512 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.003395, allocations: 1.436 MB / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.448e-05/0.00344, allocations: 0 / 0.9526 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.327e-05/0.003523, allocations: 3.938 kB / 0.9526 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.852e-05/0.003582, allocations: 11.88 kB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008025/0.004384, allocations: 215.4 kB / 0.9528 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.004477, allocations: 35.97 kB / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.004529, allocations: 0 / 0.9528 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.004586, allocations: 23.97 kB / 0.9528 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.004637, allocations: 23.91 kB / 0.9529 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.004652, allocations: 4 kB / 0.9529 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.005004, allocations: 259.6 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.005052, allocations: 7.938 kB / 0.9531 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.005084, allocations: 8 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.005376, allocations: 267.3 kB / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.005381, allocations: 0 / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.515e-06/0.005383, allocations: 0 / 0.9534 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.005388, allocations: 0 / 0.9534 GB, free: 0.5039 MB / 0.9011 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.0004847/0.005873, allocations: 339.6 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.005921, allocations: 8.031 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.005954, allocations: 34.75 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.005985, allocations: 4.891 kB / 0.9538 GB, free: 84 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.006101, allocations: 109.7 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.006117, allocations: 4.375 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.006128, allocations: 384 / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.006321, allocations: 107.9 kB / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.00633, allocations: 192 / 0.954 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.006345, allocations: 8.125 kB / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.00635, allocations: 0 / 0.954 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.976e-05/0.00641, allocations: 69.67 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.006555, allocations: 140.6 kB / 0.9542 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.006648, allocations: 84.19 kB / 0.9543 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.006704, allocations: 70.56 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.006712, allocations: 0 / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.006736, allocations: 34.56 kB / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.006737, allocations: 0 / 0.9544 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.000301/0.007038, allocations: 254.8 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.007084, allocations: 85.05 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.686e-05/0.007161, allocations: 110.1 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.007173, allocations: 29.73 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.007205, allocations: 88.14 kB / 0.9549 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.007241, allocations: 27.8 kB / 0.9549 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.007272, allocations: 17.72 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.007353, allocations: 318.8 kB / 0.9552 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.00741, allocations: 65.67 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.666e-05/0.007457, allocations: 65.98 kB / 0.9554 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.007565, allocations: 156.2 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007567, allocations: 0 / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.007707, allocations: 181 kB / 0.9557 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.007738, allocations: 33.69 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.007743, allocations: 8.062 kB / 0.9557 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007757, allocations: 3.938 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-06/0.007759, allocations: 4 kB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.007764, allocations: 0 / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.007881, allocations: 15.88 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.007901, allocations: 8 kB / 0.9558 GB, free: 13.78 MB / 0.9167 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.016e-05/0.007971, allocations: 147.5 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.00798, allocations: 4 kB / 0.9559 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.243e-05/0.007992, allocations: 8.422 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.007995, allocations: 7.938 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.007999, allocations: 4 kB / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.008001, allocations: 0 / 0.9559 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.177e-05/0.008073, allocations: 132.7 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.008074, allocations: 0 / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.008074, allocations: 0 / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008076, allocations: 0 / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.008084, allocations: 7.938 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.008086, allocations: 3.938 kB / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.008087, allocations: 0 / 0.9561 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.008264, allocations: 236.4 kB / 0.9563 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.008272, allocations: 11.95 kB / 0.9563 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.008284, allocations: 8.031 kB / 0.9563 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.293e-05/0.008317, allocations: 11.92 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.008333, allocations: 4 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.00834, allocations: 4 kB / 0.9563 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.008373, allocations: 91.27 kB / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008373, allocations: 0 / 0.9564 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002353/0.008608, allocations: 75.86 kB / 0.9565 GB, free: 12.94 MB / 0.9167 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.0007102/0.009318, allocations: 0.8265 MB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.009525, allocations: 226.6 kB / 0.9575 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009527, allocations: 4.094 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.009605, allocations: 145 kB / 0.9576 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.009735, allocations: 15.92 kB / 0.9577 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.01011, allocations: 256 kB / 0.9579 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.01016, allocations: 63.34 kB / 0.958 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.91e-06/0.01016, allocations: 4 kB / 0.958 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.01019, allocations: 20.48 kB / 0.958 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of SimCode: time 3.5e-07/0.01019, allocations: 3.938 kB / 0.958 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.02758, allocations: 3.811 MB / 0.9617 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.93, allocations: 2.031 kB / 0.9617 GB, free: 7.582 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.891795638948679]