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.008558/0.008558, allocations: 99.23 kB / 15.73 MB, free: 5.953 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.002181/0.002181, allocations: 198.9 kB / 16.68 MB, free: 5.887 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.481/2.481, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 71.73 kB / 0.9508 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3831, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003629/0.3868, allocations: 1.482 MB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004701/0.3873, allocations: 128.5 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.3874, allocations: 0 / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.694e-05/0.3875, allocations: 8.031 kB / 1.09 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.84e-05/0.3876, allocations: 7.938 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.388, allocations: 27.97 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3881, allocations: 51.66 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3882, allocations: 8 kB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.3883, allocations: 19.92 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.3884, allocations: 23.91 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3884, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.3885, allocations: 31.97 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.3886, allocations: 19.92 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.3886, allocations: 19.88 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.3888, allocations: 83.64 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3888, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3888, allocations: 4 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.3889, allocations: 0 / 1.09 GB, free: 15.7 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.0006226/0.3895, allocations: 375.3 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.3896, allocations: 8.031 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.3896, allocations: 8.844 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3898, allocations: 172.3 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3898, allocations: 384 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.3898, allocations: 8.359 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.3902, allocations: 121.3 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3902, allocations: 192 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.3902, allocations: 7.938 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.3902, allocations: 8 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.3906, allocations: 123.9 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.3911, allocations: 344.6 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.3913, allocations: 54.48 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3915, allocations: 48.91 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.3918, allocations: 137.1 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.3918, allocations: 30.56 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.3918, allocations: 0 / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.3923, allocations: 129.6 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.3924, allocations: 55.34 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3925, allocations: 159.4 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3926, allocations: 25.7 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.845e-05/0.3927, allocations: 115.6 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3927, allocations: 11.91 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.3927, allocations: 33.7 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3929, allocations: 322.8 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.393, allocations: 43.95 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.3932, allocations: 109.4 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.3936, allocations: 173.2 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.3936, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003956/0.394, allocations: 189.2 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.394, allocations: 4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.394, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.394, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.3942, allocations: 48.16 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3942, allocations: 4 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3943, allocations: 23.83 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.3944, allocations: 8 kB / 1.093 GB, free: 12.54 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 0.0001011/0.3945, allocations: 129.7 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.3945, allocations: 7.906 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003493/0.3949, allocations: 114.1 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.3949, allocations: 7.969 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3949, allocations: 0 / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3949, allocations: 4 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3951, allocations: 177.6 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3951, allocations: 4 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.3952, allocations: 19.92 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3952, allocations: 4 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3952, allocations: 3.984 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3952, allocations: 3.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3952, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.3956, allocations: 195.4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.3e-05/0.3956, allocations: 81.02 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3956, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.3957, allocations: 19.91 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.3958, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.3958, allocations: 4 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.3959, allocations: 114.2 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3959, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002684/0.3962, allocations: 20 kB / 1.093 GB, free: 11.53 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.0001612/0.3963, allocations: 95.25 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.3967, allocations: 108.4 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.3967, allocations: 0 / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3969, allocations: 47.83 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3972, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.3976, allocations: 158 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3979, allocations: 0.6968 MB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.817e-05/0.398, allocations: 32.41 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.398, allocations: 11.44 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3981, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of Templates: time 0.004199/0.4023, allocations: 0.9689 MB / 1.096 GB, free: 9.363 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