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.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.0008772/0.0008772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00135/0.00135, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8949/0.8949, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.829/1.829, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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 2.474e-06/2.474e-06, allocations: 0 / 0.9997 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.104e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003069/0.0031, allocations: 1.483 MB / 1.001 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004313, allocations: 0.7758 MB / 1.002 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.004353, allocations: 0 / 1.002 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.004557, allocations: 131.7 kB / 1.002 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005054/0.005063, allocations: 183.5 kB / 1.002 GB, free: 9.809 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.005191, allocations: 79.73 kB / 1.002 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 9.602e-05/0.005287, allocations: 67.8 kB / 1.002 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.005367, allocations: 4 kB / 1.002 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.005422, allocations: 47.88 kB / 1.002 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.005518, allocations: 87.88 kB / 1.002 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005532, allocations: 4 kB / 1.002 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003032/0.005835, allocations: 239.6 kB / 1.003 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.005948, allocations: 107.7 kB / 1.003 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.005994, allocations: 51.8 kB / 1.003 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003688/0.006363, allocations: 370.9 kB / 1.003 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.006366, allocations: 7.938 kB / 1.003 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.743e-06/0.006367, allocations: 0 / 1.003 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.006373, allocations: 4 kB / 1.003 GB, free: 8.758 MB / 0.9167 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.0005928/0.006965, allocations: 0.5468 MB / 1.004 GB, free: 8.18 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.007005, allocations: 8.75 kB / 1.004 GB, free: 8.172 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.007035, allocations: 34.75 kB / 1.004 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.007077, allocations: 32.75 kB / 1.004 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.007637, allocations: 0.8708 MB / 1.005 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.007649, allocations: 384 / 1.005 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.007658, allocations: 8.375 kB / 1.005 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.007795, allocations: 86.22 kB / 1.005 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.007802, allocations: 192 / 1.005 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.007812, allocations: 8.125 kB / 1.005 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.007816, allocations: 0 / 1.005 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.007943, allocations: 99.92 kB / 1.005 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.008423, allocations: 0.5311 MB / 1.005 GB, free: 6.422 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.008547, allocations: 110.5 kB / 1.005 GB, free: 6.305 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.008613, allocations: 64.8 kB / 1.006 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.008654, allocations: 23.98 kB / 1.006 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.008673, allocations: 30.56 kB / 1.006 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.008674, allocations: 0 / 1.006 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002927/0.008966, allocations: 213.4 kB / 1.006 GB, free: 5.961 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.008995, allocations: 59.41 kB / 1.006 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008236/0.009819, allocations: 1.216 MB / 1.007 GB, free: 4.668 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.009829, allocations: 25.7 kB / 1.007 GB, free: 4.637 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.009934, allocations: 176.1 kB / 1.007 GB, free: 4.461 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.009951, allocations: 7.953 kB / 1.007 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.009979, allocations: 13.72 kB / 1.007 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.01007, allocations: 350.8 kB / 1.008 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.065e-05/0.01014, allocations: 43.97 kB / 1.008 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.415e-05/0.01019, allocations: 51.97 kB / 1.008 GB, free: 3.988 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.01031, allocations: 116.8 kB / 1.008 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01031, allocations: 0 / 1.008 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001591/0.01047, allocations: 161.3 kB / 1.008 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.01048, allocations: 15.92 kB / 1.008 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01049, allocations: 0 / 1.008 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.0105, allocations: 0 / 1.008 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.01056, allocations: 8.031 kB / 1.008 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01056, allocations: 4 kB / 1.008 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.01061, allocations: 11.92 kB / 1.008 GB, free: 3.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.01061, allocations: 0 / 1.008 GB, free: 3.668 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 (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 9.684e-05/0.01071, allocations: 166.4 kB / 1.008 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.01074, allocations: 39.7 kB / 1.008 GB, free: 3.457 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.01101, allocations: 168.2 kB / 1.008 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01101, allocations: 4 kB / 1.008 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.01102, allocations: 8.016 kB / 1.008 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.01102, allocations: 0 / 1.008 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.0112, allocations: 244.7 kB / 1.009 GB, free: 2.988 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.0112, allocations: 3.938 kB / 1.009 GB, free: 2.984 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.01123, allocations: 11.98 kB / 1.009 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01123, allocations: 3.938 kB / 1.009 GB, free: 2.969 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.01124, allocations: 4 kB / 1.009 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01124, allocations: 0 / 1.009 GB, free: 2.965 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.01124, allocations: 4 kB / 1.009 GB, free: 2.961 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.01141, allocations: 255.3 kB / 1.009 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.909e-05/0.01147, allocations: 59.67 kB / 1.009 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01149, allocations: 0 / 1.009 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.01155, allocations: 11.98 kB / 1.009 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.01158, allocations: 4 kB / 1.009 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.01158, allocations: 0 / 1.009 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005876/0.01217, allocations: 0.952 MB / 1.01 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01217, allocations: 0 / 1.01 GB, free: 1.672 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002586/0.01243, allocations: 75.92 kB / 1.01 GB, free: 1.598 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 (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.000541/0.01297, allocations: 0.8681 MB / 1.011 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001666/0.01314, allocations: 103.9 kB / 1.011 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01314, allocations: 0 / 1.011 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.905e-05/0.0132, allocations: 51.97 kB / 1.011 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.01347, allocations: 27.53 kB / 1.011 GB, free: 0.5234 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.0181, allocations: 6.823 MB / 1.018 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.01822, allocations: 174.1 kB / 1.018 GB, free: 9.426 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.025e-05/0.01827, allocations: 38.94 kB / 1.018 GB, free: 9.391 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.01836, allocations: 88.47 kB / 1.018 GB, free: 9.305 MB / 0.9323 GB Notification: Performance of SimCode: time 4.01e-07/0.01836, allocations: 8 kB / 1.018 GB, free: 9.297 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.04054, allocations: 7.918 MB / 1.026 GB, free: 1.543 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.185, allocations: 2.188 kB / 1.026 GB, free: 1.543 MB / 0.9323 GB " [Timeout remaining time 292] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 11.76357485819608]