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.007683/0.007683, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001693/0.001693, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.422/1.422, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.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.429/2.429, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6613, allocations: 140.4 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002751/0.6641, allocations: 1.549 MB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003611/0.6645, allocations: 126.7 kB / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.732e-05/0.6645, allocations: 0 / 0.9512 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.902e-05/0.6646, allocations: 5.312 kB / 0.9512 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.496e-05/0.6647, allocations: 5.312 kB / 0.9512 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.6648, allocations: 25.47 kB / 0.9512 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.909e-05/0.6649, allocations: 45.67 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.665, allocations: 13.47 kB / 0.9513 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.6651, allocations: 17.42 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.6651, allocations: 18.8 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.6651, allocations: 2.75 kB / 0.9513 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.082e-05/0.6652, allocations: 36.45 kB / 0.9514 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.6653, allocations: 8.125 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.6653, allocations: 29.3 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.6654, allocations: 48.42 kB / 0.9515 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6654, allocations: 4 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6654, allocations: 0 / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.6654, allocations: 1.375 kB / 0.9515 GB, free: 7.625 MB / 0.7169 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.0004845/0.6659, allocations: 378.1 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.666, allocations: 9.625 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.666, allocations: 6.219 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.6661, allocations: 184.3 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.6661, allocations: 9.688 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.6661, allocations: 1.75 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.6664, allocations: 106.3 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.6664, allocations: 192 / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6664, allocations: 7.938 kB / 0.9521 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.6665, allocations: 12.23 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.6668, allocations: 122.1 kB / 0.9523 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.6672, allocations: 345.9 kB / 0.9526 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.6674, allocations: 57.42 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.6676, allocations: 44.44 kB / 0.9527 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.6679, allocations: 127.8 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.6679, allocations: 30.56 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.6679, allocations: 1.219 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005641/0.6685, allocations: 140.1 kB / 0.953 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.6685, allocations: 56.22 kB / 0.953 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.579e-05/0.6686, allocations: 147.5 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.6686, allocations: 29.7 kB / 0.9532 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.6687, allocations: 116.9 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.6687, allocations: 18.39 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.6687, allocations: 23.88 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.6688, allocations: 325.2 kB / 0.9537 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.669, allocations: 53.83 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.6691, allocations: 108.2 kB / 0.9538 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.6695, allocations: 169 kB / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.6695, allocations: 0 / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004103/0.6699, allocations: 183.5 kB / 0.9541 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.6699, allocations: 6.188 kB / 0.9542 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6699, allocations: 2.125 kB / 0.9542 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.67, allocations: 4.25 kB / 0.9542 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.6701, allocations: 45.25 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.6701, allocations: 2.812 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.6703, allocations: 27.58 kB / 0.9542 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.6703, allocations: 7.188 kB / 0.9542 GB, free: 5.109 MB / 0.7169 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 6.148e-05/0.6703, allocations: 125 kB / 0.9544 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.6704, allocations: 6.812 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003635/0.6707, allocations: 118.9 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6708, allocations: 8.156 kB / 0.9545 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6708, allocations: 1.031 kB / 0.9545 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6708, allocations: 3.984 kB / 0.9545 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.6709, allocations: 182.1 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.6709, allocations: 0 / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.671, allocations: 19.22 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.671, allocations: 0 / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.671, allocations: 1 kB / 0.9547 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.6711, allocations: 5.094 kB / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6711, allocations: 0 / 0.9547 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.6714, allocations: 199.1 kB / 0.9549 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.6714, allocations: 83.59 kB / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.6714, allocations: 0 / 0.955 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6715, allocations: 15.55 kB / 0.955 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.6716, allocations: 6.5 kB / 0.955 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.6716, allocations: 5.391 kB / 0.955 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.439e-05/0.6717, allocations: 119 kB / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6717, allocations: 0 / 0.9551 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002699/0.6719, allocations: 14.34 kB / 0.9551 GB, free: 4.281 MB / 0.7169 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.0001354/0.6721, allocations: 102.1 kB / 0.9552 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003702/0.6725, allocations: 108.2 kB / 0.9553 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6725, allocations: 3.938 kB / 0.9553 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.6726, allocations: 38.06 kB / 0.9554 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.6729, allocations: 6.688 kB / 0.9554 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.6733, allocations: 218.4 kB / 0.9556 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.6734, allocations: 0.6893 MB / 0.9562 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.6734, allocations: 12.84 kB / 0.9563 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.6735, allocations: 1.406 kB / 0.9563 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.002594/0.6761, allocations: 1.191 MB / 0.9574 GB, free: 2.605 MB / 0.7169 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 -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