Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 105.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.19/3.19, allocations: 497.2 MB / 0.7811 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 72.97 kB / 1.134 GB, free: 33.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3459, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003068/0.349, allocations: 1.469 MB / 1.305 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3505, allocations: 0.7868 MB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.3505, allocations: 0 / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.3508, allocations: 139.7 kB / 1.306 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006845/0.3515, allocations: 183.4 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.3516, allocations: 76.08 kB / 1.307 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.3518, allocations: 63.81 kB / 1.307 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.3519, allocations: 11.94 kB / 1.307 GB, free: 14.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.3519, allocations: 43.88 kB / 1.307 GB, free: 14.74 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.3521, allocations: 87.83 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3521, allocations: 4 kB / 1.307 GB, free: 14.65 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.3525, allocations: 235.7 kB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3527, allocations: 107.6 kB / 1.307 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.3528, allocations: 103.1 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.3532, allocations: 346.6 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3532, allocations: 4 kB / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3532, allocations: 0 / 1.308 GB, free: 13.87 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.3532, allocations: 0 / 1.308 GB, free: 13.87 MB / 1.014 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.0009261/0.3542, allocations: 0.6221 MB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3542, allocations: 12.92 kB / 1.308 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.3542, allocations: 34.73 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.191e-05/0.3543, allocations: 32.7 kB / 1.308 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000972/0.3553, allocations: 0.9125 MB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3553, allocations: 4.375 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3553, allocations: 12.31 kB / 1.309 GB, free: 12.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3555, allocations: 85.78 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3555, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.3555, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3555, allocations: 0 / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.3557, allocations: 95.94 kB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000726/0.3565, allocations: 0.5826 MB / 1.31 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.3566, allocations: 110.5 kB / 1.31 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3568, allocations: 48.89 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.3568, allocations: 23.98 kB / 1.31 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3568, allocations: 38.55 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3568, allocations: 4 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004681/0.3573, allocations: 213.4 kB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3573, allocations: 51.41 kB / 1.31 GB, free: 10.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.3586, allocations: 1.212 MB / 1.311 GB, free: 9.582 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.3586, allocations: 25.7 kB / 1.312 GB, free: 9.551 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3587, allocations: 180.2 kB / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.3587, allocations: 7.953 kB / 1.312 GB, free: 9.363 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.3588, allocations: 17.72 kB / 1.312 GB, free: 9.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.359, allocations: 354.7 kB / 1.312 GB, free: 8.984 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.3591, allocations: 47.97 kB / 1.312 GB, free: 8.938 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.3592, allocations: 51.97 kB / 1.312 GB, free: 8.887 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.3594, allocations: 104.9 kB / 1.312 GB, free: 8.781 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3594, allocations: 0 / 1.312 GB, free: 8.781 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002912/0.3597, allocations: 165.4 kB / 1.312 GB, free: 8.613 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3597, allocations: 8 kB / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3597, allocations: 0 / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.3597, allocations: 0 / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.3598, allocations: 15.92 kB / 1.312 GB, free: 8.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3598, allocations: 4.031 kB / 1.312 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.3599, allocations: 7.984 kB / 1.312 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3599, allocations: 3.938 kB / 1.312 GB, free: 8.574 MB / 1.014 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 0.0001566/0.3601, allocations: 173.7 kB / 1.313 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.3601, allocations: 39.75 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.3605, allocations: 164.1 kB / 1.313 GB, free: 8.191 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3605, allocations: 4.031 kB / 1.313 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3605, allocations: 0 / 1.313 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3605, allocations: 0 / 1.313 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.3608, allocations: 301.5 kB / 1.313 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3608, allocations: 0 / 1.313 GB, free: 7.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.722e-05/0.3609, allocations: 7.984 kB / 1.313 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3609, allocations: 3.938 kB / 1.313 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3609, allocations: 0 / 1.313 GB, free: 7.832 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3609, allocations: 4 kB / 1.313 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3609, allocations: 3.984 kB / 1.313 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.3612, allocations: 263.2 kB / 1.313 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3614, allocations: 124.9 kB / 1.313 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.3614, allocations: 4 kB / 1.313 GB, free: 7.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.3615, allocations: 7.984 kB / 1.314 GB, free: 7.398 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.3616, allocations: 4 kB / 1.314 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3616, allocations: 4 kB / 1.314 GB, free: 7.391 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009825/0.3625, allocations: 0.9559 MB / 1.314 GB, free: 6.434 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3625, allocations: 0 / 1.314 GB, free: 6.434 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004178/0.363, allocations: 75.88 kB / 1.315 GB, free: 6.359 MB / 1.014 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.0008955/0.3639, allocations: 0.8564 MB / 1.315 GB, free: 5.477 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.3641, allocations: 103.9 kB / 1.315 GB, free: 5.375 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3641, allocations: 0 / 1.315 GB, free: 5.375 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.3642, allocations: 51.97 kB / 1.315 GB, free: 5.324 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.3646, allocations: 21.56 kB / 1.316 GB, free: 5.301 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.372, allocations: 6.772 MB / 1.322 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3724, allocations: 0.7869 MB / 1.323 GB, free: 13.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.127e-05/0.3725, allocations: 38.94 kB / 1.323 GB, free: 13.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3726, allocations: 91.39 kB / 1.323 GB, free: 13.51 MB / 1.029 GB Notification: Performance of SimCode: time 1.302e-06/0.3726, allocations: 0 / 1.323 GB, free: 13.51 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.4038, allocations: 7.176 MB / 1.33 GB, free: 6.445 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.082, allocations: 1.766 kB / 1.33 GB, free: 6.445 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.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: 15.917001664172858]