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.0008039/0.0008039, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001122/0.001926, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006931/0.0006931, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009634/0.001657, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9325/0.9325, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.034, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.912/1.912, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5014/2.413, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.803e-06/1.803e-06, allocations: 0.7656 kB / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.727e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003177/0.003204, allocations: 1.608 MB / 0.7312 GB, free: 2.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002436/0.003448, allocations: 122 kB / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.00349, allocations: 0 / 0.7313 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.003533, allocations: 3.938 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.003586, allocations: 11.84 kB / 0.7314 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.003723, allocations: 29.64 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.00383, allocations: 44.95 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.003917, allocations: 12.64 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.004008, allocations: 33.48 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.004071, allocations: 23.86 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.004092, allocations: 4 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.0042, allocations: 32.94 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.516e-05/0.004245, allocations: 10.73 kB / 0.7315 GB, free: 2.535 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.004269, allocations: 10.61 kB / 0.7316 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.004422, allocations: 64.14 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.004435, allocations: 0.5312 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/0.004436, allocations: 1 kB / 0.7316 GB, free: 2.469 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.004452, allocations: 4 kB / 0.7316 GB, free: 2.465 MB / 0.698 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.0004494/0.004902, allocations: 284.8 kB / 0.7319 GB, free: 2.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.004938, allocations: 9.469 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.004972, allocations: 4.938 kB / 0.7319 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.966e-05/0.005071, allocations: 109.7 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.005083, allocations: 8.359 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.005094, allocations: 1.031 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.005232, allocations: 74.45 kB / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.005238, allocations: 192 / 0.7321 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.005246, allocations: 6.438 kB / 0.7321 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/0.005276, allocations: 12.3 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.171e-05/0.005308, allocations: 23.94 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.00557, allocations: 221.7 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.005625, allocations: 18.58 kB / 0.7324 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.005642, allocations: 14.45 kB / 0.7324 GB, free: 1.609 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.005798, allocations: 54.89 kB / 0.7324 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.005819, allocations: 34.56 kB / 0.7325 GB, free: 1.516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.00582, allocations: 1.219 kB / 0.7325 GB, free: 1.516 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001097/0.005929, allocations: 45.67 kB / 0.7325 GB, free: 1.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.005956, allocations: 51.41 kB / 0.7326 GB, free: 1.402 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.006036, allocations: 156.3 kB / 0.7327 GB, free: 1.242 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006047, allocations: 25.7 kB / 0.7327 GB, free: 1.211 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.006097, allocations: 115.8 kB / 0.7328 GB, free: 1.094 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.878e-06/0.006107, allocations: 11.95 kB / 0.7328 GB, free: 1.082 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.006142, allocations: 35.17 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.006223, allocations: 314.8 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.006244, allocations: 15.92 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.978e-05/0.006293, allocations: 81.36 kB / 0.7333 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.006374, allocations: 112 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.00638, allocations: 4 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001187/0.006499, allocations: 96.19 kB / 0.7335 GB, free: 364 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.006526, allocations: 8 kB / 0.7335 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.006535, allocations: 4.75 kB / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.006551, allocations: 0 / 0.7335 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.006663, allocations: 36.67 kB / 0.7335 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.006668, allocations: 0 / 0.7335 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.006717, allocations: 28.44 kB / 0.7336 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.006731, allocations: 6.188 kB / 0.7336 GB, free: 284 kB / 0.698 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 7.594e-05/0.006807, allocations: 128.5 kB / 0.7337 GB, free: 144 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.006822, allocations: 4 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.006929, allocations: 55.33 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006931, allocations: 0.7188 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006932, allocations: 0 / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.006936, allocations: 2.5 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.007043, allocations: 73.88 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007045, allocations: 4 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.007088, allocations: 19.86 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.007097, allocations: 7.938 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007098, allocations: 0 / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.007103, allocations: 4 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007105, allocations: 6.734 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.007106, allocations: 0 / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.007183, allocations: 139.5 kB / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.007192, allocations: 0 / 0.734 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.007227, allocations: 7.984 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.007259, allocations: 4 kB / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.007263, allocations: 0 / 0.734 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.007285, allocations: 26 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007285, allocations: 0 / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001408/0.007426, allocations: 16 kB / 0.734 GB, free: 15.73 MB / 0.7136 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.0001074/0.007533, allocations: 97.55 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.234e-05/0.007616, allocations: 42.67 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.007621, allocations: 0.6562 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.879e-05/0.00765, allocations: 25.56 kB / 0.7342 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.007833, allocations: 67.91 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.008228, allocations: 178.9 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.827e-05/0.008267, allocations: 59.34 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.487e-05/0.008312, allocations: 15.81 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.008376, allocations: 61.2 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.008377, allocations: 0 / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.002412/0.01079, allocations: 0.9227 MB / 0.7355 GB, free: 14.26 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.90107961371541]