Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Bicubic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 103.4 kB / 16.35 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 191.6 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.997/1.997, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 65 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2283, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002368/0.2307, allocations: 1.503 MB / 0.9526 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.231, allocations: 116.5 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.2311, allocations: 0 / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.2311, allocations: 3.938 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.2312, allocations: 15.88 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2314, allocations: 27.95 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.2315, allocations: 43.84 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.418e-05/0.2316, allocations: 12 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.2316, allocations: 19.91 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.2317, allocations: 19.92 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.2317, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.2318, allocations: 39.95 kB / 0.9529 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.2318, allocations: 19.94 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.2319, allocations: 23.8 kB / 0.9529 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.232, allocations: 79.77 kB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.232, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.233e-06/0.232, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.232, allocations: 0 / 0.953 GB, free: 6.141 MB / 0.7325 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.0004797/0.2325, allocations: 380.2 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2325, allocations: 12.03 kB / 0.9533 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.2326, allocations: 8.844 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2327, allocations: 172.2 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2327, allocations: 384 / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.2327, allocations: 4.375 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.233, allocations: 110.2 kB / 0.9536 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.233, allocations: 4.172 kB / 0.9536 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.233, allocations: 3.938 kB / 0.9536 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.233, allocations: 11.94 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.2334, allocations: 131.8 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.2337, allocations: 340.7 kB / 0.9541 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.2339, allocations: 58.53 kB / 0.9542 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2341, allocations: 36.92 kB / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.2343, allocations: 129 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.2344, allocations: 34.5 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2344, allocations: 0 / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004573/0.2348, allocations: 141.4 kB / 0.9545 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2349, allocations: 55.34 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.235, allocations: 153.8 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.235, allocations: 25.7 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.2351, allocations: 115.7 kB / 0.9548 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.2351, allocations: 11.81 kB / 0.9548 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.2351, allocations: 29.72 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2353, allocations: 322.8 kB / 0.9552 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.2354, allocations: 43.95 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.2356, allocations: 121.1 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.2359, allocations: 169.2 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2359, allocations: 4 kB / 0.9555 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003793/0.2363, allocations: 177.2 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2363, allocations: 8 kB / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2363, allocations: 0 / 0.9557 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2364, allocations: 4.312 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.2365, allocations: 47.84 kB / 0.9557 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.2365, allocations: 4 kB / 0.9557 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2366, allocations: 27.81 kB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.2366, allocations: 8 kB / 0.9557 GB, free: 2.988 MB / 0.7325 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.736e-05/0.2367, allocations: 125.8 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.2367, allocations: 3.906 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.2371, allocations: 129.8 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2371, allocations: 3.938 kB / 0.956 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.2371, allocations: 3.938 kB / 0.956 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.2371, allocations: 0 / 0.956 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2373, allocations: 177.6 kB / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2373, allocations: 0 / 0.9562 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.2374, allocations: 19.98 kB / 0.9562 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2374, allocations: 0 / 0.9562 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-06/0.2374, allocations: 0 / 0.9562 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2374, allocations: 3.938 kB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2374, allocations: 0 / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.2377, allocations: 203.3 kB / 0.9564 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.2378, allocations: 85.02 kB / 0.9565 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2378, allocations: 0 / 0.9565 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.2379, allocations: 19.92 kB / 0.9565 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.2379, allocations: 3.984 kB / 0.9565 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2379, allocations: 4 kB / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.238, allocations: 109.5 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.238, allocations: 0 / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002423/0.2382, allocations: 27.98 kB / 0.9566 GB, free: 1.984 MB / 0.7325 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.0001021/0.2383, allocations: 107.5 kB / 0.9567 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.2387, allocations: 104.4 kB / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.2387, allocations: 0 / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.2388, allocations: 40.05 kB / 0.9569 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.239, allocations: 11.98 kB / 0.9569 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.2393, allocations: 153.9 kB / 0.957 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.2395, allocations: 0.704 MB / 0.9577 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.053e-05/0.2396, allocations: 24.41 kB / 0.9577 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.2396, allocations: 11.44 kB / 0.9577 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2396, allocations: 0 / 0.9577 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of Templates: time 0.002451/0.2421, allocations: 0.9559 MB / 0.9587 GB, free: 15.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches