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.0008485/0.0008485, 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.0008574/0.0008574, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8785/0.8785, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.698/1.698, allocations: 359 MB / 0.6037 GB, free: 11.07 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.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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.152e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002078/0.0021, allocations: 1.482 MB / 0.952 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.00311, allocations: 0.764 MB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.003148, allocations: 0 / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.003352, allocations: 135.7 kB / 0.9528 GB, free: 1.082 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004642/0.003816, allocations: 187.5 kB / 0.953 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.003919, allocations: 79.73 kB / 0.9531 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.004006, allocations: 67.81 kB / 0.9531 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.259e-05/0.004089, allocations: 7.922 kB / 0.9532 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.004141, allocations: 35.95 kB / 0.9532 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.004242, allocations: 95.81 kB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.004254, allocations: 0 / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.004549, allocations: 239.6 kB / 0.9535 GB, free: 392 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.004662, allocations: 107.7 kB / 0.9536 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.004709, allocations: 55.77 kB / 0.9537 GB, free: 228 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.005056, allocations: 370.9 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.00506, allocations: 4 kB / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.425e-06/0.005062, allocations: 0 / 0.954 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.005067, allocations: 3.938 kB / 0.954 GB, free: 15.85 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.0006324/0.005699, allocations: 0.5546 MB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.005745, allocations: 8.031 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.111e-05/0.005776, allocations: 30.75 kB / 0.9546 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.005819, allocations: 36.7 kB / 0.9546 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.006379, allocations: 0.8708 MB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.006391, allocations: 4.359 kB / 0.9555 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.0064, allocations: 8.375 kB / 0.9555 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.006536, allocations: 86.16 kB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.006543, allocations: 192 / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.006552, allocations: 4.125 kB / 0.9556 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.006556, allocations: 0 / 0.9556 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.00668, allocations: 103.9 kB / 0.9557 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.00717, allocations: 0.5311 MB / 0.9562 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.007294, allocations: 114.5 kB / 0.9563 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.007361, allocations: 60.77 kB / 0.9564 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.0074, allocations: 19.98 kB / 0.9564 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.007419, allocations: 34.56 kB / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.00742, allocations: 0 / 0.9564 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002841/0.007704, allocations: 217.4 kB / 0.9566 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.007733, allocations: 55.53 kB / 0.9567 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/0.008498, allocations: 1.209 MB / 0.9579 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.008509, allocations: 25.7 kB / 0.9579 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.008604, allocations: 184 kB / 0.9581 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.008619, allocations: 3.953 kB / 0.9581 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.008645, allocations: 17.72 kB / 0.9581 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.00875, allocations: 346.8 kB / 0.9584 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.008819, allocations: 51.91 kB / 0.9585 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.503e-05/0.008874, allocations: 51.97 kB / 0.9585 GB, free: 11.06 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.008988, allocations: 108.8 kB / 0.9586 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.00899, allocations: 0 / 0.9586 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000162/0.009152, allocations: 165.4 kB / 0.9588 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.009164, allocations: 8 kB / 0.9588 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.009169, allocations: 0 / 0.9588 GB, free: 10.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009182, allocations: 3.938 kB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.009245, allocations: 12.03 kB / 0.9588 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.009251, allocations: 0 / 0.9588 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.009296, allocations: 15.88 kB / 0.9588 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.0093, allocations: 0 / 0.9588 GB, free: 10.75 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.83e-05/0.009399, allocations: 165.8 kB / 0.959 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.231e-05/0.009431, allocations: 35.75 kB / 0.959 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.009624, allocations: 168.2 kB / 0.9592 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.009627, allocations: 7.953 kB / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.009631, allocations: 4 kB / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.009633, allocations: 0 / 0.9592 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.009809, allocations: 248.7 kB / 0.9594 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009811, allocations: 3.938 kB / 0.9594 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.009838, allocations: 11.98 kB / 0.9594 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.00984, allocations: 0 / 0.9594 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.009845, allocations: 0 / 0.9594 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.009846, allocations: 0 / 0.9594 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009847, allocations: 0 / 0.9594 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.01003, allocations: 267.2 kB / 0.9597 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.01009, allocations: 59.67 kB / 0.9597 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01011, allocations: 0 / 0.9597 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.01016, allocations: 11.98 kB / 0.9598 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.01019, allocations: 0 / 0.9598 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.0102, allocations: 4 kB / 0.9598 GB, free: 9.703 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000588/0.01078, allocations: 0.9559 MB / 0.9607 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01078, allocations: 0 / 0.9607 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002326/0.01102, allocations: 75.86 kB / 0.9608 GB, free: 8.676 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.0005186/0.01154, allocations: 0.8605 MB / 0.9616 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001599/0.0117, allocations: 103.9 kB / 0.9617 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.0117, allocations: 0 / 0.9617 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.796e-05/0.01176, allocations: 51.97 kB / 0.9618 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.01201, allocations: 36.08 kB / 0.9618 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.01682, allocations: 6.816 MB / 0.9684 GB, free: 0.707 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.01695, allocations: 176.9 kB / 0.9686 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.488e-05/0.017, allocations: 42.92 kB / 0.9687 GB, free: 484 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.589e-05/0.0171, allocations: 100.5 kB / 0.9687 GB, free: 384 kB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.0171, allocations: 4 kB / 0.9688 GB, free: 380 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.03637, allocations: 7.908 MB / 0.9765 GB, free: 8.645 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.08/7.117, allocations: 8 kB / 0.9765 GB, free: 8.637 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 11.061167280189693]