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.001805/0.001805, allocations: 78.48 kB / 19.18 MB, free: 2.527 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.002219/0.002219, allocations: 168.4 kB / 22.46 MB, free: 5.359 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.905/2.905, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Bicubic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.293e-05/3.437e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00271/0.002745, allocations: 1.495 MB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003514/0.003096, allocations: 123.5 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.00313, allocations: 4 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.003171, allocations: 0 / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.003235, allocations: 15.86 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.003466, allocations: 27.91 kB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.00357, allocations: 51.83 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.003662, allocations: 8 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.003732, allocations: 27.91 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.481e-05/0.003787, allocations: 15.98 kB / 0.9832 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.003807, allocations: 8 kB / 0.9832 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.778e-05/0.003895, allocations: 31.97 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.00394, allocations: 23.86 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.00397, allocations: 19.91 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.004136, allocations: 71.78 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00414, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00414, allocations: 4 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004145, allocations: 0 / 0.9833 GB, free: 10.02 MB / 0.9356 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.0006422/0.004787, allocations: 310 kB / 0.9836 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.004824, allocations: 12.03 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.004866, allocations: 8.891 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.004978, allocations: 117.7 kB / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.00499, allocations: 384 / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.005006, allocations: 4.375 kB / 0.9837 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.005325, allocations: 113.3 kB / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005333, allocations: 192 / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.005343, allocations: 384 / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.005376, allocations: 12.36 kB / 0.9839 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.005755, allocations: 131.7 kB / 0.984 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.006219, allocations: 280.4 kB / 0.9843 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.006437, allocations: 50.53 kB / 0.9843 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.006597, allocations: 40.92 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.006861, allocations: 60.02 kB / 0.9844 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.006897, allocations: 34.56 kB / 0.9844 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006898, allocations: 4 kB / 0.9844 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005876/0.007486, allocations: 141.5 kB / 0.9846 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.00754, allocations: 51.41 kB / 0.9846 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.007687, allocations: 147.8 kB / 0.9848 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.007708, allocations: 33.69 kB / 0.9848 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.007804, allocations: 119.8 kB / 0.9849 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.007821, allocations: 11.94 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.007878, allocations: 33.67 kB / 0.9849 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.008036, allocations: 322.8 kB / 0.9853 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.008234, allocations: 47.89 kB / 0.9853 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.008468, allocations: 117.3 kB / 0.9854 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/0.008891, allocations: 169.2 kB / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.008893, allocations: 0 / 0.9856 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004774/0.009371, allocations: 173.3 kB / 0.9857 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.009389, allocations: 8.312 kB / 0.9857 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.009397, allocations: 8 kB / 0.9858 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.009414, allocations: 0 / 0.9858 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.009594, allocations: 39.97 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.009605, allocations: 7.938 kB / 0.9858 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.009724, allocations: 19.88 kB / 0.9858 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.009746, allocations: 11.94 kB / 0.9858 GB, free: 7.195 MB / 0.9356 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.0001278/0.009874, allocations: 129.8 kB / 0.986 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.009904, allocations: 7.953 kB / 0.986 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.01032, allocations: 117.9 kB / 0.9861 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.01032, allocations: 0 / 0.9861 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01033, allocations: 0 / 0.9861 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01033, allocations: 4 kB / 0.9861 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.01049, allocations: 129.2 kB / 0.9862 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.01049, allocations: 0 / 0.9862 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.01059, allocations: 15.98 kB / 0.9862 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01059, allocations: 0 / 0.9862 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.0106, allocations: 4 kB / 0.9862 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.0106, allocations: 3.984 kB / 0.9862 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01061, allocations: 0 / 0.9862 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.01102, allocations: 199.4 kB / 0.9864 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01103, allocations: 11.95 kB / 0.9864 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.01105, allocations: 0 / 0.9864 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.01117, allocations: 15.97 kB / 0.9864 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.01122, allocations: 0 / 0.9864 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.01123, allocations: 8 kB / 0.9864 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.968e-05/0.01132, allocations: 109.8 kB / 0.9866 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01132, allocations: 0 / 0.9866 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002754/0.0116, allocations: 27.88 kB / 0.9866 GB, free: 6.367 MB / 0.9356 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.0001864/0.01178, allocations: 99.25 kB / 0.9867 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.01222, allocations: 100.1 kB / 0.9868 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.01222, allocations: 4.625 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.01238, allocations: 39.95 kB / 0.9868 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.01272, allocations: 15.89 kB / 0.9868 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.0131, allocations: 159.4 kB / 0.987 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.01318, allocations: 75.33 kB / 0.9871 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.72e-05/0.01326, allocations: 24.47 kB / 0.9871 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01331, allocations: 24.48 kB / 0.9871 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.01331, allocations: 0 / 0.9871 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of Templates: time 0.003936/0.01724, allocations: 1.011 MB / 0.9881 GB, free: 4.777 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.070956904441118]