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.008289/0.008289, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001963/0.001963, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.4/1.4, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.792/2.792, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 69.14 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3493, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003291/0.3526, allocations: 1.545 MB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000418/0.3531, allocations: 119.7 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.3531, allocations: 0 / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.34e-05/0.3532, allocations: 11.88 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.3533, allocations: 15.86 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.3535, allocations: 15.98 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.3536, allocations: 47.84 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3538, allocations: 11.98 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.711e-05/0.3538, allocations: 19.92 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.3539, allocations: 23.91 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.3539, allocations: 4 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.354, allocations: 31.97 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.354, allocations: 15.92 kB / 1.055 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.3541, allocations: 15.88 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3542, allocations: 55.91 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3542, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3542, allocations: 0 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3543, allocations: 0 / 1.055 GB, free: 6.375 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.0006165/0.3549, allocations: 393.2 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3549, allocations: 11.97 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.355, allocations: 8.844 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3551, allocations: 172.2 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3551, allocations: 384 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.3552, allocations: 8.375 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003182/0.3555, allocations: 116 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3555, allocations: 192 / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.3555, allocations: 7.938 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/0.3556, allocations: 12 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.3559, allocations: 119.8 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004947/0.3564, allocations: 344.6 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.3567, allocations: 62.53 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.3568, allocations: 32.92 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.3571, allocations: 125.1 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.3572, allocations: 34.56 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.3572, allocations: 3.984 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005733/0.3578, allocations: 141.4 kB / 1.056 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.3578, allocations: 55.34 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.358, allocations: 151.5 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.358, allocations: 25.7 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.143e-05/0.3581, allocations: 123.6 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.3581, allocations: 7.906 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.3581, allocations: 33.7 kB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3583, allocations: 314.8 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.3585, allocations: 47.95 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.3587, allocations: 109.4 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.359, allocations: 173.2 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3591, allocations: 3.938 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004299/0.3595, allocations: 181.6 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3595, allocations: 4 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.3595, allocations: 4 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3595, allocations: 11.88 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3597, allocations: 35.91 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3597, allocations: 4 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3599, allocations: 31.81 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3599, allocations: 8 kB / 1.057 GB, free: 3.211 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 0.0001007/0.36, allocations: 125.8 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.36, allocations: 7.906 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3604, allocations: 121.8 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.3604, allocations: 7.938 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3604, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3604, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3606, allocations: 177.6 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3606, allocations: 0 / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3607, allocations: 15.98 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3607, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3608, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.3608, allocations: 3.938 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3608, allocations: 8 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.3611, allocations: 199.4 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.3612, allocations: 85.02 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3612, allocations: 0 / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3613, allocations: 19.92 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3614, allocations: 3.984 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3614, allocations: 7.938 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.771e-05/0.3615, allocations: 109.1 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3615, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002844/0.3618, allocations: 24 kB / 1.058 GB, free: 2.211 MB / 0.8106 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.0001568/0.3619, allocations: 95.25 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003808/0.3623, allocations: 104.2 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3623, allocations: 3.938 kB / 1.058 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.3625, allocations: 43.95 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3628, allocations: 4.812 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.3632, allocations: 212.4 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.3635, allocations: 0.6965 MB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.3636, allocations: 19.38 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of SimCode: time 7.51e-07/0.3636, allocations: 0 / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of Templates: time 0.002841/0.3664, allocations: 1.175 MB / 1.061 GB, free: 15.8 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/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