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.0009718/0.0009718, allocations: 99.34 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 182 kB / 16.92 MB, free: 6.918 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.421/1.421, allocations: 223.3 MB / 241 MB, free: 5.27 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.458/2.458, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005876/0.0005877, allocations: 20 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6637/0.6643, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00148/0.6659, allocations: 1.21 MB / 0.9569 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003394/0.6662, allocations: 122.3 kB / 0.957 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.6663, allocations: 1.344 kB / 0.957 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.6663, allocations: 3.938 kB / 0.957 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.313e-05/0.6664, allocations: 10.05 kB / 0.957 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.6666, allocations: 21.89 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.6666, allocations: 37.09 kB / 0.9571 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.357e-05/0.6667, allocations: 12.53 kB / 0.9571 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.6668, allocations: 17.77 kB / 0.9571 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.6669, allocations: 23.25 kB / 0.9571 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.6669, allocations: 1.156 kB / 0.9571 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.667, allocations: 37.48 kB / 0.9572 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.667, allocations: 16.27 kB / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.6671, allocations: 48.8 kB / 0.9572 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.6672, allocations: 45.27 kB / 0.9573 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6672, allocations: 0 / 0.9573 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.764e-06/0.6672, allocations: 4 kB / 0.9573 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.6672, allocations: 0.875 kB / 0.9573 GB, free: 6.512 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.0004551/0.6677, allocations: 383.6 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6677, allocations: 10.03 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.6677, allocations: 11.06 kB / 0.9577 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.381e-05/0.6678, allocations: 171.5 kB / 0.9578 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.6678, allocations: 1.25 kB / 0.9578 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.6679, allocations: 2.438 kB / 0.9578 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.6682, allocations: 128 kB / 0.9579 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.6682, allocations: 4.188 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.6682, allocations: 3.938 kB / 0.958 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.6683, allocations: 8.031 kB / 0.958 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.6687, allocations: 149.9 kB / 0.9581 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.6691, allocations: 347.6 kB / 0.9584 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.6693, allocations: 70.98 kB / 0.9585 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.6694, allocations: 48.25 kB / 0.9586 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/0.6697, allocations: 118.1 kB / 0.9587 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.6697, allocations: 35.86 kB / 0.9587 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.6697, allocations: 0 / 0.9587 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005813/0.6703, allocations: 166 kB / 0.9589 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.6703, allocations: 60.84 kB / 0.9589 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.6705, allocations: 142.4 kB / 0.9591 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.6705, allocations: 25.7 kB / 0.9591 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.6705, allocations: 128.6 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.6705, allocations: 10.34 kB / 0.9592 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.6706, allocations: 25.55 kB / 0.9592 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.6706, allocations: 320.1 kB / 0.9595 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.6708, allocations: 51.95 kB / 0.9596 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.671, allocations: 130.5 kB / 0.9597 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/0.6714, allocations: 196.1 kB / 0.9599 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6714, allocations: 2.156 kB / 0.9599 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004316/0.6718, allocations: 201.4 kB / 0.9601 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6719, allocations: 7.375 kB / 0.9601 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6719, allocations: 2.75 kB / 0.9601 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6719, allocations: 12.42 kB / 0.9601 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.6721, allocations: 42.11 kB / 0.9602 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6721, allocations: 6.734 kB / 0.9602 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.6722, allocations: 32.33 kB / 0.9602 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.6722, allocations: 6.875 kB / 0.9602 GB, free: 3.988 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.714e-05/0.6723, allocations: 128.7 kB / 0.9603 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.6723, allocations: 8.031 kB / 0.9603 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.6728, allocations: 137.1 kB / 0.9605 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6728, allocations: 5.312 kB / 0.9605 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.6728, allocations: 0 / 0.9605 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6728, allocations: 0 / 0.9605 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.6729, allocations: 182 kB / 0.9606 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6729, allocations: 1.375 kB / 0.9606 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/0.673, allocations: 19.11 kB / 0.9607 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.673, allocations: 1.375 kB / 0.9607 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.6731, allocations: 0 / 0.9607 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6731, allocations: 9.25 kB / 0.9607 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6731, allocations: 0 / 0.9607 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.6734, allocations: 222.6 kB / 0.9609 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.6735, allocations: 86.39 kB / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.6735, allocations: 5.312 kB / 0.961 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6736, allocations: 18.92 kB / 0.961 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.6736, allocations: 6.734 kB / 0.961 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.6737, allocations: 2.75 kB / 0.961 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.6737, allocations: 111.8 kB / 0.9611 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6737, allocations: 3.938 kB / 0.9611 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002663/0.674, allocations: 19.12 kB / 0.9611 GB, free: 3.152 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.0001314/0.6741, allocations: 98.5 kB / 0.9612 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.6745, allocations: 126 kB / 0.9613 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6745, allocations: 0 / 0.9613 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.6747, allocations: 51.48 kB / 0.9614 GB, free: 3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.675, allocations: 12.84 kB / 0.9614 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.6754, allocations: 207.3 kB / 0.9616 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.6755, allocations: 0.6935 MB / 0.9623 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.6755, allocations: 13.19 kB / 0.9623 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6756, allocations: 0 / 0.9623 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of Templates: time 0.002607/0.6782, allocations: 1.185 MB / 0.9634 GB, free: 1.484 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