Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001831/0.001831, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.002383/0.002383, allocations: 217.1 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 64.47 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3261, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002847/0.329, allocations: 1.493 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3307, allocations: 0.8276 MB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.3307, allocations: 0 / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.331, allocations: 135.7 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007291/0.3317, allocations: 191.5 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3319, allocations: 79.25 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3321, allocations: 63.88 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.3322, allocations: 7.984 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.775e-05/0.3322, allocations: 39.89 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.3324, allocations: 91.77 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3324, allocations: 4 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004488/0.3328, allocations: 259.6 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.333, allocations: 115.6 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.333, allocations: 95.2 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.3335, allocations: 346.6 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3335, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3335, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.3335, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 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.0009054/0.3344, allocations: 0.5546 MB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.3345, allocations: 12.02 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/0.3345, allocations: 30.75 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.903e-05/0.3346, allocations: 36.7 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.3355, allocations: 0.8638 MB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3356, allocations: 384 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.3356, allocations: 384 / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.3358, allocations: 89.78 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3358, allocations: 7.984 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.3358, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3358, allocations: 0 / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.336, allocations: 103.9 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007479/0.3368, allocations: 0.5505 MB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.337, allocations: 102.5 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.3371, allocations: 56.89 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.3372, allocations: 15.98 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3372, allocations: 38.56 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3372, allocations: 3.938 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004841/0.3377, allocations: 213.4 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.3377, allocations: 55.41 kB / 1.29 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.3392, allocations: 1.212 MB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.3392, allocations: 25.7 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.3394, allocations: 176.1 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.3394, allocations: 7.953 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.3395, allocations: 13.72 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3397, allocations: 350.9 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.3398, allocations: 55.91 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3399, allocations: 47.97 kB / 1.291 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.3401, allocations: 108.7 kB / 1.292 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3401, allocations: 3.938 kB / 1.292 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003106/0.3404, allocations: 169.5 kB / 1.292 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3404, allocations: 4 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3404, allocations: 0 / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3405, allocations: 4 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.294e-05/0.3406, allocations: 7.984 kB / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3406, allocations: 0 / 1.292 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.3406, allocations: 7.984 kB / 1.292 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3406, allocations: 4 kB / 1.292 GB, free: 2.879 MB / 0.9825 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.0001609/0.3408, allocations: 173.8 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.3409, allocations: 31.77 kB / 1.292 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000347/0.3412, allocations: 176.1 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3412, allocations: 0 / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3412, allocations: 0 / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3412, allocations: 0 / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.3416, allocations: 272.5 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3416, allocations: 4.031 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.3417, allocations: 11.98 kB / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.3417, allocations: 0 / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3417, allocations: 0 / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3417, allocations: 0 / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3417, allocations: 0 / 1.292 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.3421, allocations: 271.1 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3422, allocations: 55.73 kB / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3422, allocations: 0 / 1.293 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3423, allocations: 11.98 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.3423, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.3423, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001011/0.3434, allocations: 0.9559 MB / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3434, allocations: 0 / 1.294 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005032/0.3439, allocations: 71.88 kB / 1.294 GB, free: 0.7969 MB / 0.9825 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.0009421/0.3448, allocations: 0.8487 MB / 1.295 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3451, allocations: 107.9 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3451, allocations: 4 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.3452, allocations: 55.95 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3456, allocations: 23.06 kB / 1.295 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008653/0.3542, allocations: 6.78 MB / 1.301 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004923/0.3547, allocations: 0.783 MB / 1.302 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.315e-05/0.3548, allocations: 42.92 kB / 1.302 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.3549, allocations: 91.41 kB / 1.302 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/0.3549, allocations: 0 / 1.302 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04789/0.4028, allocations: 7.276 MB / 1.309 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.12, allocations: 10.98 kB / 1.309 GB, free: 0.8164 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.843916146084666]