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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007092/0.007092, allocations: 100.5 kB / 15.73 MB, free: 6.445 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.001126/0.001126, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.48 kB / 0.9509 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3746, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002936/0.3776, allocations: 1.478 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003612/0.378, allocations: 116.5 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.378, allocations: 0 / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.183e-05/0.3781, allocations: 7.922 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.734e-05/0.3782, allocations: 15.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3784, allocations: 31.91 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3786, allocations: 43.84 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3787, allocations: 8 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.3787, allocations: 19.92 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.3788, allocations: 19.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.3788, allocations: 8 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.3789, allocations: 35.97 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.379, allocations: 19.91 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.379, allocations: 19.88 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3792, allocations: 75.59 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3792, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3792, allocations: 4 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3792, allocations: 0 / 1.09 GB, free: 15.52 MB / 0.8575 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.000624/0.3799, allocations: 391.1 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3799, allocations: 8.031 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.38, allocations: 8.891 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3801, allocations: 176.3 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3801, allocations: 4.375 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.3801, allocations: 8.312 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3805, allocations: 104.3 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3805, allocations: 192 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.3805, allocations: 11.94 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.3806, allocations: 15.98 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.3809, allocations: 115.9 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.3814, allocations: 340.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.3816, allocations: 62.48 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.3818, allocations: 40.91 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.3821, allocations: 141 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3821, allocations: 34.56 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.3821, allocations: 0 / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005545/0.3827, allocations: 137.5 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3827, allocations: 59.33 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3829, allocations: 146.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3829, allocations: 29.7 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.383, allocations: 116 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.383, allocations: 15.89 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.3831, allocations: 29.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3832, allocations: 322.8 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.3834, allocations: 43.95 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.3836, allocations: 117.3 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.3839, allocations: 165.2 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.384, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004887/0.3845, allocations: 181.3 kB / 1.092 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3845, allocations: 4.312 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3845, allocations: 8 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3845, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3847, allocations: 39.84 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3847, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3848, allocations: 23.94 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3848, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 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 9.778e-05/0.3849, allocations: 129.7 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.385, allocations: 12.19 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.3854, allocations: 117.8 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3854, allocations: 3.938 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3854, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3854, allocations: 4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3856, allocations: 177.6 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3856, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.263e-05/0.3857, allocations: 11.98 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3857, allocations: 7.984 kB / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.3857, allocations: 0 / 1.093 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3857, allocations: 3.938 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3857, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3861, allocations: 199.4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3862, allocations: 81.06 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3862, allocations: 7.984 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3863, allocations: 11.92 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.3863, allocations: 12 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3864, allocations: 8 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.05e-05/0.3864, allocations: 113.2 kB / 1.093 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.3864, allocations: 0 / 1.093 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002523/0.3867, allocations: 16 kB / 1.093 GB, free: 11.35 MB / 0.8575 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.0001795/0.3869, allocations: 103.1 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3873, allocations: 108 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3873, allocations: 3.938 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.3874, allocations: 43.89 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.3878, allocations: 4 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3882, allocations: 166.4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3885, allocations: 0.6929 MB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.197e-05/0.3886, allocations: 24.41 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.3886, allocations: 15.44 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3886, allocations: 0 / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of Templates: time 0.003599/0.3923, allocations: 0.977 MB / 1.096 GB, free: 9.168 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches