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.001499/0.001499, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001721/0.001721, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.613/1.613, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.84 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4162, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003284/0.4195, allocations: 1.506 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0003834/0.4199, allocations: 115.7 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.4199, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.255e-05/0.42, allocations: 7.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.4201, allocations: 7.875 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.4203, allocations: 31.95 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.4204, allocations: 47.84 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.4205, allocations: 11.98 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.4205, allocations: 19.92 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.4206, allocations: 23.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.4206, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.4207, allocations: 27.97 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.4207, allocations: 19.92 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.4208, allocations: 15.88 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.4209, allocations: 79.64 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4209, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4209, allocations: 0 / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4209, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 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.000574/0.4215, allocations: 306.1 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.4216, allocations: 11.97 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.4216, allocations: 8.891 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.4217, allocations: 122.4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.4217, allocations: 384 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.4217, allocations: 4.375 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.4221, allocations: 114.1 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4221, allocations: 8.188 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4221, allocations: 7.938 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.4221, allocations: 8 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.4225, allocations: 123.8 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.4229, allocations: 276.4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.4232, allocations: 58.53 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.4233, allocations: 36.92 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.4236, allocations: 63.94 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.4236, allocations: 34.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.4236, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005634/0.4242, allocations: 137.5 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.4242, allocations: 51.41 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.4244, allocations: 155.7 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.4244, allocations: 25.7 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.4245, allocations: 119.8 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.4245, allocations: 19.88 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.4246, allocations: 29.72 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4247, allocations: 314.8 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.4249, allocations: 47.95 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.4251, allocations: 117.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.4255, allocations: 173.2 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4255, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004677/0.426, allocations: 181.3 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.426, allocations: 8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.426, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.426, allocations: 4 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.4262, allocations: 39.91 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.4262, allocations: 11.88 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4263, allocations: 24.19 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.4263, allocations: 12 kB / 1.331 GB, free: 12.21 MB / 1.029 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.0001132/0.4265, allocations: 122.4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.4265, allocations: 11.95 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.4269, allocations: 125.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4269, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4269, allocations: 3.938 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.4269, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.4271, allocations: 121.3 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4271, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.4272, allocations: 15.98 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4272, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4272, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.4272, allocations: 15.92 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4272, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.4276, allocations: 203.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.317e-05/0.4276, allocations: 3.953 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4276, allocations: 4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4277, allocations: 11.97 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4278, allocations: 4 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.4278, allocations: 11.94 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.154e-05/0.4279, allocations: 113.2 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4279, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002702/0.4281, allocations: 20 kB / 1.332 GB, free: 11.37 MB / 1.029 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.0001585/0.4283, allocations: 95.58 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.4287, allocations: 104.4 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4287, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.4289, allocations: 44.03 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.4292, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.4296, allocations: 165.9 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.369e-05/0.4296, allocations: 79.27 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.4297, allocations: 24.41 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.4298, allocations: 19.38 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4298, allocations: 3.938 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of Templates: time 0.003802/0.4336, allocations: 1.09 MB / 1.334 GB, free: 9.715 MB / 1.029 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 -s gbode -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/jenkins1/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: 9.092258370001218]