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.001303/0.001303, allocations: 88.72 kB / 19.44 MB, free: 356 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.001637/0.001637, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.302/3.302, allocations: 429.6 MB / 0.673 GB, free: 3.871 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.523e-06/1.523e-06, allocations: 0.6562 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.005e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002815/0.002845, allocations: 1.506 MB / 0.8791 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003499/0.003195, allocations: 116.8 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.003226, allocations: 0.625 kB / 0.8792 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.481e-05/0.003281, allocations: 4.844 kB / 0.8792 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.003343, allocations: 15.17 kB / 0.8792 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.003575, allocations: 35.83 kB / 0.8792 GB, free: 4.84 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.003668, allocations: 39.86 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.115e-05/0.00375, allocations: 13.17 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.003814, allocations: 23.97 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.003878, allocations: 23.91 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003896, allocations: 5.094 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.598e-05/0.003982, allocations: 27.97 kB / 0.8794 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.00403, allocations: 15.92 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.004059, allocations: 12.97 kB / 0.8794 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.004227, allocations: 83.69 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004229, allocations: 0.75 kB / 0.8795 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.00423, allocations: 7.938 kB / 0.8795 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.004234, allocations: 0.6562 kB / 0.8795 GB, free: 4.594 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.0006105/0.004844, allocations: 309.5 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.004883, allocations: 8.031 kB / 0.8798 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.005189, allocations: 40.86 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.005318, allocations: 118.3 kB / 0.8799 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.005333, allocations: 4.375 kB / 0.8799 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.005348, allocations: 5.906 kB / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.005672, allocations: 118.1 kB / 0.88 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005681, allocations: 4.188 kB / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005693, allocations: 384 / 0.8801 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.005718, allocations: 8.375 kB / 0.8801 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.00613, allocations: 127.8 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.006699, allocations: 296 kB / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.006953, allocations: 74.45 kB / 0.8805 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.007126, allocations: 44.91 kB / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.007141, allocations: 0 / 0.8806 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.007172, allocations: 30.56 kB / 0.8806 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.007173, allocations: 4 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006133/0.007786, allocations: 149.5 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.007833, allocations: 55.34 kB / 0.8808 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.008104, allocations: 148.2 kB / 0.8809 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.008126, allocations: 25.7 kB / 0.881 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.00822, allocations: 123.8 kB / 0.8811 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.008238, allocations: 11.94 kB / 0.8811 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-05/0.008296, allocations: 25.72 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.008473, allocations: 326.8 kB / 0.8814 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.008668, allocations: 47.95 kB / 0.8815 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.008917, allocations: 121.4 kB / 0.8816 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004257/0.009343, allocations: 185.1 kB / 0.8818 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.009348, allocations: 7.984 kB / 0.8818 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005147/0.009862, allocations: 189.3 kB / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.009876, allocations: 4.312 kB / 0.882 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.009882, allocations: 8 kB / 0.882 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.009903, allocations: 4 kB / 0.882 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.01011, allocations: 31.97 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.01012, allocations: 4 kB / 0.882 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.01026, allocations: 27.88 kB / 0.882 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01027, allocations: 7.938 kB / 0.882 GB, free: 1.719 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.0001239/0.01039, allocations: 129.7 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.01043, allocations: 11.95 kB / 0.8822 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.074e-05/0.01047, allocations: 16.34 kB / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.01047, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01048, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.01048, allocations: 0 / 0.8822 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.01067, allocations: 129.2 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01067, allocations: 0 / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.0108, allocations: 19.98 kB / 0.8823 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.0108, allocations: 0 / 0.8823 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.01081, allocations: 0 / 0.8823 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.01082, allocations: 7.922 kB / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01082, allocations: 8 kB / 0.8824 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.01125, allocations: 207.4 kB / 0.8826 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.01126, allocations: 3.953 kB / 0.8826 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.01128, allocations: 0 / 0.8826 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.01142, allocations: 15.97 kB / 0.8826 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.01146, allocations: 4.281 kB / 0.8826 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.01147, allocations: 4 kB / 0.8826 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001017/0.01157, allocations: 109.4 kB / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01157, allocations: 0 / 0.8827 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002663/0.01184, allocations: 16 kB / 0.8827 GB, free: 0.9922 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.0001195/0.01195, allocations: 91.25 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.01238, allocations: 116.4 kB / 0.8829 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.01239, allocations: 0 / 0.8829 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.01257, allocations: 51.83 kB / 0.8829 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01283, allocations: 11.94 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.01326, allocations: 185.5 kB / 0.8831 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.531e-05/0.01334, allocations: 71.33 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000103/0.01344, allocations: 24.47 kB / 0.8832 GB, free: 404 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/0.01349, allocations: 12.5 kB / 0.8832 GB, free: 388 kB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/0.01349, allocations: 0 / 0.8832 GB, free: 388 kB / 0.8386 GB Notification: Performance of Templates: time 0.004099/0.01759, allocations: 1.027 MB / 0.8842 GB, free: 15.38 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 800] 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.164051751955412]