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.001201/0.001201, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001178/0.001178, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 71.88 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8572, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002671/0.8599, allocations: 1.492 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000349/0.8603, allocations: 123.6 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.8604, allocations: 0 / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.211e-05/0.8604, allocations: 3.938 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.8605, allocations: 7.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.8607, allocations: 39.88 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.8609, allocations: 39.91 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.861, allocations: 12 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.861, allocations: 19.92 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.8611, allocations: 15.92 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.8611, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-05/0.8612, allocations: 43.89 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.8613, allocations: 15.98 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.8613, allocations: 23.8 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.8615, allocations: 79.72 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8615, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8615, allocations: 3.938 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.8615, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 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.0005743/0.8621, allocations: 381 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.8621, allocations: 12.03 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.8622, allocations: 4.844 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8623, allocations: 172.3 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.8623, allocations: 384 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.8623, allocations: 4.375 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.8627, allocations: 122.1 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.8627, allocations: 192 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.8627, allocations: 7.875 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.822e-05/0.8628, allocations: 8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.8632, allocations: 119.9 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.8639, allocations: 348.5 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.8641, allocations: 58.47 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.8643, allocations: 36.92 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/0.8646, allocations: 125.1 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.8647, allocations: 30.56 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.8647, allocations: 4 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0006902/0.8654, allocations: 133.7 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.8654, allocations: 59.28 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.8656, allocations: 148 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.8657, allocations: 25.7 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.8658, allocations: 131.7 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.8658, allocations: 7.906 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.8659, allocations: 37.61 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.8661, allocations: 310.8 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.8663, allocations: 51.95 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.8665, allocations: 113.4 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.8669, allocations: 177.2 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8669, allocations: 0 / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004801/0.8674, allocations: 173.5 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8674, allocations: 8 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8675, allocations: 3.984 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8675, allocations: 4 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.8677, allocations: 39.86 kB / 1.213 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.8677, allocations: 7.984 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.8678, allocations: 23.83 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.8678, allocations: 8.219 kB / 1.213 GB, free: 8.574 MB / 0.9356 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.0001014/0.8679, allocations: 129.8 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.868, allocations: 3.906 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.8684, allocations: 121.8 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.8684, allocations: 15.81 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8684, allocations: 0 / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8684, allocations: 0 / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.8686, allocations: 173.6 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.8686, allocations: 0 / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.8687, allocations: 19.92 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8687, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.8688, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8688, allocations: 7.938 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8688, allocations: 0 / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.8692, allocations: 199.4 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-05/0.8692, allocations: 85.02 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.8693, allocations: 0 / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.8694, allocations: 23.92 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.8694, allocations: 3.984 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.8694, allocations: 4 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.8695, allocations: 109.3 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8695, allocations: 0 / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002758/0.8698, allocations: 16 kB / 1.214 GB, free: 7.574 MB / 0.9356 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.0001654/0.87, allocations: 107.2 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.8704, allocations: 99.84 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8704, allocations: 0 / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.8706, allocations: 44.52 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.8709, allocations: 15.95 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.8713, allocations: 187.5 kB / 1.214 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.8717, allocations: 0.6963 MB / 1.215 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.8717, allocations: 15.44 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of SimCode: time 8.42e-07/0.8717, allocations: 4 kB / 1.215 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.003087/0.8748, allocations: 1.2 MB / 1.216 GB, free: 5.156 MB / 0.9356 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches