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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0009839/0.0009837, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008219/0.008219, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.427/1.427, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.732/2.732, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.0003579, allocations: 16.5 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002337/0.3499, allocations: 1.21 MB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.3504, allocations: 127.7 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.3504, allocations: 4 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.3505, allocations: 7.922 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.57e-05/0.3506, allocations: 3.938 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.3509, allocations: 27.91 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.351, allocations: 39.86 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3511, allocations: 11.98 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.3512, allocations: 15.92 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.082e-05/0.3513, allocations: 27.84 kB / 1.06 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3513, allocations: 4 kB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.3514, allocations: 31.97 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.793e-05/0.3515, allocations: 11.98 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3515, allocations: 45.52 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3517, allocations: 71.75 kB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3517, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.855e-06/0.3517, allocations: 0 / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3517, allocations: 4 kB / 1.06 GB, free: 3.832 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.0006211/0.3524, allocations: 387.5 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3524, allocations: 12.03 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.3525, allocations: 4.844 kB / 1.061 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3526, allocations: 176.3 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.3526, allocations: 384 / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.3527, allocations: 8.312 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.353, allocations: 122.2 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.353, allocations: 192 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3531, allocations: 3.938 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.3531, allocations: 11.98 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.3535, allocations: 147.8 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.354, allocations: 344.7 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.3543, allocations: 70.41 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3545, allocations: 52.92 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.3547, allocations: 129.1 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3548, allocations: 30.56 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.3548, allocations: 0 / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000636/0.3554, allocations: 169.4 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.3555, allocations: 59.34 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3556, allocations: 152.5 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.3557, allocations: 25.7 kB / 1.062 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.561e-05/0.3558, allocations: 115.7 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.3558, allocations: 15.8 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.3558, allocations: 17.72 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.356, allocations: 318.8 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.3562, allocations: 55.95 kB / 1.063 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.3564, allocations: 125.4 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.3568, allocations: 189.2 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.3568, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004885/0.3573, allocations: 201.3 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3574, allocations: 8 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3574, allocations: 0 / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3574, allocations: 4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3576, allocations: 48.16 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3576, allocations: 4 kB / 1.063 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3577, allocations: 31.83 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3578, allocations: 8 kB / 1.063 GB, free: 0.5352 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/0.3579, allocations: 125.8 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.3579, allocations: 7.906 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.3583, allocations: 141.9 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.3584, allocations: 3.938 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.3584, allocations: 288 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3584, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.3586, allocations: 177.6 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3586, allocations: 7.938 kB / 1.064 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3587, allocations: 35.95 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3587, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3588, allocations: 4 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3588, allocations: 3.938 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3588, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3592, allocations: 219.3 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3592, allocations: 81.02 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3593, allocations: 3.984 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.3594, allocations: 23.92 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.3595, allocations: 8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3595, allocations: 4 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.717e-05/0.3596, allocations: 108.8 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.5e-07/0.3596, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002806/0.3598, allocations: 16 kB / 1.064 GB, free: 15.48 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 (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.0001879/0.36, allocations: 111.2 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004389/0.3605, allocations: 128.5 kB / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3605, allocations: 0 / 1.064 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3607, allocations: 47.91 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.361, allocations: 8 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.3614, allocations: 181 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3617, allocations: 0.7004 MB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.3618, allocations: 24.41 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.3619, allocations: 15.38 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.044e-06/0.3619, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of Templates: time 0.003566/0.3654, allocations: 0.8229 MB / 1.066 GB, free: 13.4 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