Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_10_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.005524/0.005524, allocations: 101.1 kB / 15.88 MB, free: 5.863 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.00121/0.00121, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.371/1.371, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.631/2.631, allocations: 437 MB / 0.7106 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 59.91 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6591, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00339/0.6625, allocations: 1.546 MB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004401/0.663, allocations: 124.5 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.6631, allocations: 7.938 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.619e-05/0.6631, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.6633, allocations: 7.938 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.6635, allocations: 19.97 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.322e-05/0.6636, allocations: 51.78 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.6637, allocations: 7.938 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.6638, allocations: 15.92 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.6638, allocations: 31.91 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.6638, allocations: 4 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.6639, allocations: 31.95 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.664, allocations: 11.94 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.664, allocations: 23.86 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.6642, allocations: 47.92 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.6642, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6642, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.6642, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.7637 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.000631/0.6649, allocations: 385.3 kB / 1.02 GB, free: 432 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.6649, allocations: 12.02 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.665, allocations: 8.844 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.6651, allocations: 180.1 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6651, allocations: 384 / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.6652, allocations: 4.375 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.6655, allocations: 108.5 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.6655, allocations: 4.188 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.6655, allocations: 7.938 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.6656, allocations: 11.98 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.666, allocations: 115.9 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.6665, allocations: 352.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.6668, allocations: 50.53 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.6669, allocations: 40.92 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/0.6672, allocations: 125.1 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.6673, allocations: 30.56 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.004e-06/0.6673, allocations: 0 / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006969/0.668, allocations: 141.4 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.6681, allocations: 55.34 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.6682, allocations: 150.5 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.6682, allocations: 25.7 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.924e-05/0.6683, allocations: 123.8 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.6684, allocations: 15.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.6684, allocations: 29.72 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6686, allocations: 318.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.6688, allocations: 43.95 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.669, allocations: 117.4 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.6694, allocations: 173.2 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6694, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004766/0.6699, allocations: 181.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6699, allocations: 6.031 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6699, allocations: 7.984 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.67, allocations: 7.984 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.6701, allocations: 39.91 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.6702, allocations: 7.938 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.6703, allocations: 27.77 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.6703, allocations: 8 kB / 1.022 GB, free: 13.69 MB / 0.7794 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 0.0001529/0.6705, allocations: 126.5 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.6705, allocations: 7.906 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003908/0.6709, allocations: 117.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6709, allocations: 7.922 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6709, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6709, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.6712, allocations: 177.6 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6712, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.781e-05/0.6713, allocations: 15.98 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.6713, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.6713, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.6713, allocations: 3.938 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6713, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.6717, allocations: 199.4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.6718, allocations: 88.95 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.6718, allocations: 0 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.6719, allocations: 19.92 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.6719, allocations: 7.984 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.672, allocations: 4 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.543e-05/0.672, allocations: 103.3 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.61e-07/0.672, allocations: 0 / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002736/0.6723, allocations: 19.98 kB / 1.023 GB, free: 12.7 MB / 0.7794 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.0001802/0.6725, allocations: 99.25 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.6729, allocations: 111.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6729, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.6731, allocations: 36.59 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.6735, allocations: 15.98 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.6739, allocations: 201.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.6742, allocations: 0.6926 MB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.886e-05/0.6743, allocations: 19.42 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6743, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.003277/0.6775, allocations: 1.188 MB / 1.025 GB, free: 10.28 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches