Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001184/0.001184, 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.001273/0.001273, allocations: 170.3 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.917/0.917, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.803/1.803, allocations: 377.8 MB / 0.6221 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 3.938 kB / 0.981 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003e-05/1.139e-05, allocations: 9.312 kB / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001706/0.001717, allocations: 1.472 MB / 0.9824 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009329/0.00265, allocations: 0.7673 MB / 0.9832 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.002687, allocations: 0 / 0.9832 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.002884, allocations: 139.7 kB / 0.9833 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004648/0.003349, allocations: 190.8 kB / 0.9835 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.003451, allocations: 71.73 kB / 0.9836 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.997e-05/0.003541, allocations: 63.81 kB / 0.9836 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.003632, allocations: 12 kB / 0.9836 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.003689, allocations: 39.94 kB / 0.9837 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.003793, allocations: 91.81 kB / 0.9837 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.00381, allocations: 4 kB / 0.9838 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.0041, allocations: 235.6 kB / 0.984 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.909e-05/0.004199, allocations: 107.7 kB / 0.9841 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.004242, allocations: 55.77 kB / 0.9841 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.004554, allocations: 374.9 kB / 0.9845 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004555, allocations: 0 / 0.9845 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004556, allocations: 0 / 0.9845 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.004561, allocations: 0 / 0.9845 GB, free: 13.84 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007156/0.005276, allocations: 0.5546 MB / 0.985 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.005313, allocations: 12.03 kB / 0.985 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.596e-05/0.005339, allocations: 30.75 kB / 0.9851 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.005378, allocations: 36.7 kB / 0.9851 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.005915, allocations: 0.8669 MB / 0.986 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005926, allocations: 8.359 kB / 0.986 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-06/0.005934, allocations: 8.312 kB / 0.986 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.006058, allocations: 86.22 kB / 0.9861 GB, free: 12.17 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.006064, allocations: 8.125 kB / 0.9861 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.006072, allocations: 4.125 kB / 0.9861 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.006076, allocations: 0 / 0.9861 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.006195, allocations: 99.92 kB / 0.9862 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.006641, allocations: 0.535 MB / 0.9867 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.006751, allocations: 106.5 kB / 0.9868 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.006817, allocations: 56.83 kB / 0.9868 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.006852, allocations: 27.98 kB / 0.9869 GB, free: 11.28 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.006869, allocations: 34.5 kB / 0.9869 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.00687, allocations: 0 / 0.9869 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002713/0.007141, allocations: 213.4 kB / 0.9871 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.007165, allocations: 51.41 kB / 0.9872 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.007901, allocations: 1.212 MB / 0.9883 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.00791, allocations: 29.69 kB / 0.9884 GB, free: 9.703 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.007994, allocations: 180.2 kB / 0.9885 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.008009, allocations: 7.953 kB / 0.9885 GB, free: 9.516 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.008033, allocations: 9.719 kB / 0.9886 GB, free: 9.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/0.008115, allocations: 350.8 kB / 0.9889 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.008173, allocations: 51.97 kB / 0.9889 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.359e-05/0.008227, allocations: 55.89 kB / 0.989 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.00834, allocations: 104.8 kB / 0.9891 GB, free: 8.938 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.008341, allocations: 4.062 kB / 0.9891 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001534/0.008494, allocations: 161.4 kB / 0.9892 GB, free: 8.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.008507, allocations: 14.12 kB / 0.9893 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.008512, allocations: 0 / 0.9893 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.008522, allocations: 0 / 0.9893 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.532e-05/0.008577, allocations: 11.98 kB / 0.9893 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.008581, allocations: 0 / 0.9893 GB, free: 8.746 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.008619, allocations: 8 kB / 0.9893 GB, free: 8.738 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.008624, allocations: 4.031 kB / 0.9893 GB, free: 8.734 MB / 0.9011 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.039e-05/0.008714, allocations: 165.7 kB / 0.9894 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.008759, allocations: 39.7 kB / 0.9895 GB, free: 8.523 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.008942, allocations: 172.1 kB / 0.9896 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.008943, allocations: 0 / 0.9896 GB, free: 8.344 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.008947, allocations: 4 kB / 0.9896 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00895, allocations: 0 / 0.9896 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.009119, allocations: 248.7 kB / 0.9899 GB, free: 8.055 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009121, allocations: 7.969 kB / 0.9899 GB, free: 8.047 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.009148, allocations: 11.98 kB / 0.9899 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.009149, allocations: 0 / 0.9899 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-06/0.009155, allocations: 3.938 kB / 0.9899 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.009156, allocations: 0 / 0.9899 GB, free: 8.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.009157, allocations: 4 kB / 0.9899 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.009328, allocations: 263.2 kB / 0.9902 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.009383, allocations: 59.67 kB / 0.9902 GB, free: 7.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.009399, allocations: 8.016 kB / 0.9902 GB, free: 7.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.009451, allocations: 4 kB / 0.9902 GB, free: 7.684 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.009482, allocations: 7.984 kB / 0.9902 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.009484, allocations: 0 / 0.9902 GB, free: 7.676 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0005535/0.01004, allocations: 0.9481 MB / 0.9912 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.01004, allocations: 0 / 0.9912 GB, free: 6.734 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0002272/0.01027, allocations: 79.86 kB / 0.9912 GB, free: 6.656 MB / 0.9011 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.0006013/0.01087, allocations: 0.8604 MB / 0.9921 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.01101, allocations: 99.94 kB / 0.9922 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01102, allocations: 3.938 kB / 0.9922 GB, free: 5.668 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01107, allocations: 51.95 kB / 0.9922 GB, free: 5.617 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.0113, allocations: 25.66 kB / 0.9923 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.01667, allocations: 6.819 MB / 0.9989 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.01685, allocations: 174.1 kB / 0.9991 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.255e-05/0.01693, allocations: 42.92 kB / 0.9991 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.01708, allocations: 96.47 kB / 0.9992 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of SimCode: time 7.72e-07/0.01708, allocations: 0 / 0.9992 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.04036, allocations: 7.908 MB / 1.007 GB, free: 6.641 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.1, allocations: 13.44 kB / 1.007 GB, free: 6.633 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.138909997418523]