Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.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.000891/0.000891, 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.0008949/0.0008949, 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.8963/0.8963, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.735/1.735, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.Bicubic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.266e-06/3.266e-06, allocations: 3.984 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.647e-05/1.974e-05, allocations: 2.281 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002511/0.002531, allocations: 1.499 MB / 0.9824 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003353/0.002866, allocations: 111.6 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.848e-05/0.002904, allocations: 4 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.002956, allocations: 7.922 kB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.23e-05/0.003029, allocations: 11.86 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.003303, allocations: 23.97 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003417, allocations: 51.84 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.003525, allocations: 4 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.388e-05/0.003599, allocations: 27.91 kB / 0.9827 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.003654, allocations: 15.97 kB / 0.9827 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.003677, allocations: 4 kB / 0.9827 GB, free: 0.8086 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.003783, allocations: 47.89 kB / 0.9827 GB, free: 0.7617 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.003828, allocations: 11.94 kB / 0.9827 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.003861, allocations: 15.92 kB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.004044, allocations: 83.75 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.004047, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004049, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.004054, allocations: 0 / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005166/0.00457, allocations: 314 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.004617, allocations: 12.03 kB / 0.9831 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.00466, allocations: 34.75 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.004693, allocations: 8.891 kB / 0.9832 GB, free: 256 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.004791, allocations: 113.7 kB / 0.9833 GB, free: 116 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.004805, allocations: 4.375 kB / 0.9833 GB, free: 112 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.004817, allocations: 4.375 kB / 0.9833 GB, free: 108 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.005098, allocations: 117.1 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005107, allocations: 192 / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.005122, allocations: 8.359 kB / 0.9834 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.005151, allocations: 12.12 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.005436, allocations: 123.9 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.005931, allocations: 307.7 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.006117, allocations: 54.47 kB / 0.9839 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.006238, allocations: 36.92 kB / 0.9839 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.006491, allocations: 51.95 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.006519, allocations: 34.56 kB / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.006521, allocations: 0 / 0.984 GB, free: 15.31 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0004781/0.006999, allocations: 137.5 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.007035, allocations: 55.41 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.007162, allocations: 153.8 kB / 0.9843 GB, free: 14.94 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.007177, allocations: 25.7 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.007247, allocations: 119.8 kB / 0.9845 GB, free: 14.79 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.007262, allocations: 15.94 kB / 0.9845 GB, free: 14.77 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.007317, allocations: 29.67 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.007416, allocations: 318.8 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.007578, allocations: 47.89 kB / 0.9849 GB, free: 14.37 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.00772, allocations: 120 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.00792, allocations: 173.2 kB / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.007923, allocations: 0 / 0.9852 GB, free: 14.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002421/0.008165, allocations: 181.6 kB / 0.9853 GB, free: 13.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.008178, allocations: 8 kB / 0.9853 GB, free: 13.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.008185, allocations: 4 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.008198, allocations: 4 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.0083, allocations: 35.97 kB / 0.9854 GB, free: 13.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.008307, allocations: 7.938 kB / 0.9854 GB, free: 13.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.008367, allocations: 27.81 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.008382, allocations: 8.234 kB / 0.9854 GB, free: 13.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (13): * Single equations (assignments): 13 * 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 5.945e-05/0.008441, allocations: 121.8 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.008461, allocations: 8 kB / 0.9855 GB, free: 13.61 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.008717, allocations: 117.9 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.008722, allocations: 4 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.008726, allocations: 4 kB / 0.9857 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00873, allocations: 3.938 kB / 0.9857 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.00885, allocations: 152.6 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008852, allocations: 0 / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.008907, allocations: 15.98 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.00891, allocations: 3.984 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.008917, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008919, allocations: 0 / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.00892, allocations: 4 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.009124, allocations: 207.4 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.492e-06/0.00913, allocations: 0 / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.009142, allocations: 3.984 kB / 0.986 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.355e-05/0.009196, allocations: 11.98 kB / 0.986 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.00923, allocations: 11.88 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.009236, allocations: 3.938 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.009283, allocations: 110.2 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.009283, allocations: 4 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001931/0.009476, allocations: 27.89 kB / 0.9862 GB, free: 12.87 MB / 0.948 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 (3): * Single equations (assignments): 3 * 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.0004004/0.009877, allocations: 0.7242 MB / 0.9869 GB, free: 12.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.01009, allocations: 108.3 kB / 0.987 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01009, allocations: 0 / 0.987 GB, free: 12.01 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.01017, allocations: 35.95 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.0104, allocations: 11.94 kB / 0.9871 GB, free: 11.96 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.01079, allocations: 198.9 kB / 0.9872 GB, free: 11.73 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.01085, allocations: 83.14 kB / 0.9873 GB, free: 11.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.542e-05/0.01091, allocations: 24.47 kB / 0.9873 GB, free: 11.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.01095, allocations: 28.48 kB / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.01096, allocations: 0 / 0.9874 GB, free: 11.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.02698, allocations: 2.879 MB / 0.9902 GB, free: 8.836 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.064, allocations: 9.469 kB / 0.9902 GB, free: 8.832 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable bicubic.y in file Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv. Warning: Get data of variable bicubic.y from file Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.14184725470841]