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.001187/0.001187, allocations: 113.5 kB / 16.37 MB, free: 5.996 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.001072/0.001072, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.18 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 2.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.09 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2706, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003377/0.274, allocations: 1.484 MB / 0.9526 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004435/0.2745, allocations: 120.5 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.2745, allocations: 0 / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.916e-05/0.2746, allocations: 3.938 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/0.2747, allocations: 15.91 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.275, allocations: 27.91 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.2752, allocations: 43.84 kB / 0.9528 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2753, allocations: 8 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.2754, allocations: 23.92 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.623e-05/0.2754, allocations: 23.91 kB / 0.9528 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.2755, allocations: 4 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.996e-05/0.2756, allocations: 39.91 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.176e-05/0.2757, allocations: 19.97 kB / 0.9529 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.2757, allocations: 19.81 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2759, allocations: 79.77 kB / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.2759, allocations: 0 / 0.953 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2759, allocations: 3.938 kB / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.2759, allocations: 0 / 0.953 GB, free: 6.164 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.0007412/0.2766, allocations: 383.2 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2767, allocations: 8.031 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.2768, allocations: 8.844 kB / 0.9534 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.277, allocations: 176.2 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.277, allocations: 384 / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2771, allocations: 4.375 kB / 0.9535 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.2774, allocations: 114.2 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2774, allocations: 4.188 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2774, allocations: 3.938 kB / 0.9537 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.2774, allocations: 8 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.2778, allocations: 123.8 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.2783, allocations: 348.6 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.2785, allocations: 46.55 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.2787, allocations: 44.91 kB / 0.9542 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000309/0.279, allocations: 129 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.279, allocations: 30.56 kB / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.279, allocations: 0 / 0.9544 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005215/0.2795, allocations: 137.4 kB / 0.9545 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.2796, allocations: 55.34 kB / 0.9545 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2798, allocations: 156.5 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.2799, allocations: 25.7 kB / 0.9547 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/0.2799, allocations: 115.7 kB / 0.9548 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.395e-05/0.28, allocations: 19.75 kB / 0.9548 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.28, allocations: 29.7 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.2803, allocations: 318.8 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.2804, allocations: 43.94 kB / 0.9552 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.2806, allocations: 113.4 kB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.281, allocations: 177.2 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2811, allocations: 0 / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004381/0.2815, allocations: 189.4 kB / 0.9557 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2815, allocations: 4 kB / 0.9557 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2815, allocations: 4 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.2815, allocations: 4 kB / 0.9557 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.2817, allocations: 39.91 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2817, allocations: 4 kB / 0.9557 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.2818, allocations: 27.77 kB / 0.9558 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.2819, allocations: 8 kB / 0.9558 GB, free: 3.012 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 8.521e-05/0.282, allocations: 125.9 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.282, allocations: 11.89 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.2824, allocations: 117.8 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2824, allocations: 4.219 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2824, allocations: 4 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2824, allocations: 0 / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.2826, allocations: 177.6 kB / 0.9562 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2826, allocations: 3.984 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.2827, allocations: 19.98 kB / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2827, allocations: 0 / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2827, allocations: 0 / 0.9562 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.2827, allocations: 11.92 kB / 0.9562 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2828, allocations: 3.984 kB / 0.9562 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.2831, allocations: 191.4 kB / 0.9564 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2832, allocations: 85.02 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2832, allocations: 0 / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.2833, allocations: 27.84 kB / 0.9565 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.2833, allocations: 4 kB / 0.9565 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2834, allocations: 4 kB / 0.9565 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.575e-05/0.2835, allocations: 107.2 kB / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2835, allocations: 0 / 0.9566 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002723/0.2837, allocations: 24 kB / 0.9566 GB, free: 2.004 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.0001565/0.2839, allocations: 95.25 kB / 0.9567 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.2843, allocations: 107.8 kB / 0.9568 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2843, allocations: 0 / 0.9568 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2845, allocations: 40.58 kB / 0.9569 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.2848, allocations: 15.88 kB / 0.9569 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.2852, allocations: 157.9 kB / 0.957 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.2855, allocations: 0.6963 MB / 0.9577 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.254e-05/0.2856, allocations: 28.41 kB / 0.9577 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.2856, allocations: 15.44 kB / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2857, allocations: 0 / 0.9578 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of Templates: time 0.003545/0.2892, allocations: 0.9564 MB / 0.9587 GB, free: 15.84 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 gbode -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