Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002761/0.002761, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.003517/0.003517, allocations: 177.2 kB / 22.76 MB, free: 1.664 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 1.539/1.539, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.462/3.462, allocations: 429.4 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8774 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.209e-05, allocations: 3.281 kB / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003158/0.00319, allocations: 1.51 MB / 0.8789 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.003553, allocations: 122.1 kB / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.583e-05/0.003589, allocations: 0 / 0.879 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.108e-05/0.00365, allocations: 3.938 kB / 0.879 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.003716, allocations: 9.281 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.003948, allocations: 33.48 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.004052, allocations: 43.86 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.004141, allocations: 11.97 kB / 0.8791 GB, free: 4.922 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.747e-05/0.004228, allocations: 23.92 kB / 0.8792 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.062e-05/0.004279, allocations: 18 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.004296, allocations: 4 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.00439, allocations: 31.97 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.701e-05/0.004437, allocations: 19.92 kB / 0.8792 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.004465, allocations: 11.94 kB / 0.8792 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.004662, allocations: 86.19 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004665, allocations: 0 / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004666, allocations: 0 / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.00467, allocations: 0 / 0.8793 GB, free: 4.734 MB / 0.8386 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.0006014/0.005271, allocations: 404 kB / 0.8797 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.005313, allocations: 8.031 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.005613, allocations: 47.22 kB / 0.8798 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.005755, allocations: 121.8 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.005773, allocations: 4.375 kB / 0.8799 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005791, allocations: 8.359 kB / 0.8799 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.006036, allocations: 82.16 kB / 0.88 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006047, allocations: 4.188 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.006066, allocations: 4.359 kB / 0.88 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.759e-05/0.006093, allocations: 8.375 kB / 0.88 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.006349, allocations: 79.89 kB / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.007075, allocations: 371.1 kB / 0.8804 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.007271, allocations: 66.98 kB / 0.8805 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.007384, allocations: 35.77 kB / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.007403, allocations: 0 / 0.8805 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.007436, allocations: 33.39 kB / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.007437, allocations: 0 / 0.8805 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004705/0.007908, allocations: 133.5 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.007956, allocations: 51.41 kB / 0.8807 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.008158, allocations: 216.3 kB / 0.8809 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.008178, allocations: 25.7 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.008307, allocations: 174.7 kB / 0.8811 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.008321, allocations: 7.891 kB / 0.8811 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.008393, allocations: 35.38 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002749/0.008668, allocations: 0.504 MB / 0.8817 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.008783, allocations: 27.98 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.008992, allocations: 144.5 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005872/0.00958, allocations: 188.4 kB / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.009583, allocations: 0 / 0.882 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003722/0.009955, allocations: 161.3 kB / 0.8822 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.009971, allocations: 4 kB / 0.8822 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.00998, allocations: 4.312 kB / 0.8822 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.009997, allocations: 8 kB / 0.8822 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.01016, allocations: 23.98 kB / 0.8822 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.01017, allocations: 7.938 kB / 0.8822 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01028, allocations: 19.88 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.0103, allocations: 8 kB / 0.8822 GB, free: 1.473 MB / 0.8386 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 0.000148/0.01044, allocations: 168.5 kB / 0.8824 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.01048, allocations: 7.953 kB / 0.8824 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.01052, allocations: 8.344 kB / 0.8824 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01052, allocations: 0 / 0.8824 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.01053, allocations: 15.98 kB / 0.8824 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01053, allocations: 0 / 0.8824 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.01073, allocations: 144.6 kB / 0.8826 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01073, allocations: 3.938 kB / 0.8826 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.01083, allocations: 15.92 kB / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01083, allocations: 0 / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01084, allocations: 0 / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01084, allocations: 0 / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01084, allocations: 240 / 0.8826 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.0112, allocations: 247.8 kB / 0.8828 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.01122, allocations: 11.95 kB / 0.8828 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.01123, allocations: 0 / 0.8828 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.01133, allocations: 7.984 kB / 0.8828 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.01139, allocations: 4 kB / 0.8828 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.01139, allocations: 4 kB / 0.8828 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001091/0.0115, allocations: 147.2 kB / 0.883 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0115, allocations: 0 / 0.883 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002411/0.01174, allocations: 12 kB / 0.883 GB, free: 0.6211 MB / 0.8386 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.000129/0.01187, allocations: 95.19 kB / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.0122, allocations: 101.3 kB / 0.8832 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0122, allocations: 0 / 0.8832 GB, free: 424 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.01233, allocations: 47.59 kB / 0.8832 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.01258, allocations: 18.59 kB / 0.8832 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.01303, allocations: 179 kB / 0.8834 GB, free: 148 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.01311, allocations: 75.33 kB / 0.8835 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 9.117e-05/0.01321, allocations: 20.47 kB / 0.8835 GB, free: 32 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.66e-05/0.01325, allocations: 16.5 kB / 0.8835 GB, free: 12 kB / 0.8386 GB Notification: Performance of SimCode: time 9.42e-07/0.01325, allocations: 0 / 0.8835 GB, free: 12 kB / 0.8386 GB Notification: Performance of Templates: time 0.004062/0.01732, allocations: 1.03 MB / 0.8845 GB, free: 15.01 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.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: 8.466635396936908]