Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_latest_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.0009799/0.0009796, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001396/0.001396, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.819/2.819, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.0003721, allocations: 10.88 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3384, allocations: 159.6 MB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001962/0.3404, allocations: 1.195 MB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.3408, allocations: 115.8 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.3408, allocations: 4 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.3409, allocations: 0 / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.3409, allocations: 3.938 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.3412, allocations: 23.97 kB / 1.059 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.3412, allocations: 39.84 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3414, allocations: 11.98 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.3414, allocations: 19.92 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.559e-05/0.3415, allocations: 19.92 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3415, allocations: 0 / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3416, allocations: 35.95 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.495e-05/0.3417, allocations: 11.94 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.508e-05/0.3417, allocations: 29.7 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.3418, allocations: 51.89 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.3419, allocations: 4 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3419, allocations: 4 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3419, allocations: 0 / 1.06 GB, free: 3.793 MB / 0.8106 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.0006245/0.3425, allocations: 383.4 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3426, allocations: 8.031 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.3426, allocations: 11.84 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3428, allocations: 167.1 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3428, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.3428, allocations: 11.94 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.3431, allocations: 113.6 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3431, allocations: 7.938 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3432, allocations: 4 kB / 1.06 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.3432, allocations: 19.92 kB / 1.06 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.3436, allocations: 143.8 kB / 1.06 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.344, allocations: 340.6 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.3443, allocations: 70.53 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3444, allocations: 48.92 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002638/0.3447, allocations: 125 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3448, allocations: 42.5 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.3448, allocations: 0 / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000551/0.3453, allocations: 173.4 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3454, allocations: 51.41 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3455, allocations: 143.8 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.3455, allocations: 25.7 kB / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.3456, allocations: 123.6 kB / 1.061 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.3457, allocations: 7.891 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.3457, allocations: 8 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3458, allocations: 318.8 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.346, allocations: 47.95 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.3462, allocations: 133.3 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3464, allocations: 71.95 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3464, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004194/0.3468, allocations: 201.2 kB / 1.062 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.3468, allocations: 8 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.3468, allocations: 4 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3468, allocations: 4.312 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.347, allocations: 47.91 kB / 1.062 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.347, allocations: 7.953 kB / 1.062 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3471, allocations: 27.83 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3472, allocations: 8 kB / 1.062 GB, free: 0.668 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3473, allocations: 133.8 kB / 1.062 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.3473, allocations: 3.906 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.3477, allocations: 137.8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3477, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3477, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3477, allocations: 3.953 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.348, allocations: 181.6 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.348, allocations: 0 / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/0.3481, allocations: 23.97 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3481, allocations: 288 / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3481, allocations: 4 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3481, allocations: 0 / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3481, allocations: 0 / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.3485, allocations: 231.3 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.3486, allocations: 92.94 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.3486, allocations: 0 / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3487, allocations: 19.98 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3488, allocations: 0 / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3488, allocations: 4 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.876e-05/0.3489, allocations: 109 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3489, allocations: 4 kB / 1.063 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002601/0.3491, allocations: 16 kB / 1.063 GB, free: 15.62 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001656/0.3493, allocations: 107.2 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003965/0.3497, allocations: 127.8 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3497, allocations: 0 / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.3499, allocations: 48.53 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3502, allocations: 8 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.3505, allocations: 185 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3508, allocations: 0.6926 MB / 1.064 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.985e-05/0.3509, allocations: 24.41 kB / 1.064 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.351, allocations: 11.44 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.351, allocations: 0 / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of Templates: time 0.003163/0.3541, allocations: 0.8124 MB / 1.065 GB, free: 13.56 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches