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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001891/0.001891, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002071/0.002071, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.589/2.589, allocations: 437 MB / 0.71 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.12 kB / 0.8687 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5911/0.5924, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002499/0.5949, allocations: 1.554 MB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002821/0.5952, allocations: 116.5 kB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.5952, allocations: 0 / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.5953, allocations: 3.984 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.5954, allocations: 11.92 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.5956, allocations: 23.97 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.403e-05/0.5957, allocations: 43.8 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.5958, allocations: 15.98 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.5958, allocations: 15.94 kB / 1.019 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.5959, allocations: 27.91 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.5959, allocations: 4 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.596, allocations: 31.97 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.858e-05/0.596, allocations: 15.97 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.5961, allocations: 31.8 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.5962, allocations: 63.8 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5962, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5962, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5963, allocations: 0 / 1.019 GB, free: 0.8906 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.0004962/0.5968, allocations: 385.2 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5968, allocations: 12.03 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.5968, allocations: 4.844 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5969, allocations: 184.1 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.597, allocations: 384 / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.597, allocations: 8.375 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.5973, allocations: 110.2 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5973, allocations: 192 / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.5973, allocations: 3.938 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.5973, allocations: 11.98 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.5977, allocations: 126.5 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.5981, allocations: 344.6 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.5983, allocations: 54.64 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.5984, allocations: 44.75 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.5987, allocations: 129 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5988, allocations: 34.5 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5988, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005052/0.5993, allocations: 133.5 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.5993, allocations: 63.34 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.5994, allocations: 143 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.5995, allocations: 25.7 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.5995, allocations: 123.8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.5995, allocations: 11.8 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.5996, allocations: 33.72 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5997, allocations: 318.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.5999, allocations: 55.95 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.6001, allocations: 105.3 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.6004, allocations: 173.4 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.6004, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004085/0.6008, allocations: 185.2 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6009, allocations: 8 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6009, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6009, allocations: 4 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.6011, allocations: 35.91 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6011, allocations: 8.25 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.6012, allocations: 27.83 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.6012, allocations: 12 kB / 1.021 GB, free: 13.72 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 7.832e-05/0.6013, allocations: 122.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.6013, allocations: 3.906 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.6017, allocations: 121.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6017, allocations: 3.938 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6017, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6017, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.6019, allocations: 177.6 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6019, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.602, allocations: 27.91 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.602, allocations: 3.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.602, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.602, allocations: 3.938 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.602, allocations: 0 / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.6024, allocations: 203.3 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.6024, allocations: 89 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.6024, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.6025, allocations: 15.92 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.6026, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6026, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.6027, allocations: 109.6 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6027, allocations: 0 / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000258/0.6029, allocations: 24 kB / 1.022 GB, free: 12.73 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.0001629/0.6031, allocations: 107.2 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003937/0.6035, allocations: 104.4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6035, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.6037, allocations: 39.97 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.604, allocations: 8 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.6044, allocations: 182 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.6047, allocations: 0.6923 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.227e-05/0.6048, allocations: 24.41 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.6048, allocations: 15.44 kB / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.6048, allocations: 0 / 1.023 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.003266/0.6081, allocations: 0.8629 MB / 1.024 GB, free: 10.64 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches