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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001125/0.001125, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.7 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.06 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3273, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002694/0.33, allocations: 1.491 MB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000341/0.3304, allocations: 119.6 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.3304, allocations: 8 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.501e-05/0.3305, allocations: 3.938 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.3305, allocations: 3.938 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.3308, allocations: 31.89 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3309, allocations: 43.86 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.331, allocations: 15.98 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.054e-05/0.3311, allocations: 15.92 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.3311, allocations: 31.91 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3312, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.3313, allocations: 31.97 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.3313, allocations: 23.86 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.3314, allocations: 19.81 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3315, allocations: 75.77 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3315, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3315, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.3315, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 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.0005807/0.3321, allocations: 383.5 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3322, allocations: 12.03 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.3322, allocations: 4.844 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3324, allocations: 168.4 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3324, allocations: 4.375 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3324, allocations: 384 / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.3327, allocations: 115.3 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3327, allocations: 4.188 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3327, allocations: 3.938 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.909e-05/0.3328, allocations: 11.98 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.3331, allocations: 127.8 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.3336, allocations: 348.6 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3338, allocations: 54.48 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.334, allocations: 44.91 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.3343, allocations: 121.1 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3343, allocations: 30.56 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3343, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005354/0.3348, allocations: 133.5 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3349, allocations: 63.33 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.335, allocations: 143.5 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.335, allocations: 29.7 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.3351, allocations: 119.6 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.3351, allocations: 11.84 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.3352, allocations: 37.61 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3353, allocations: 318.8 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3355, allocations: 43.95 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.3357, allocations: 117.4 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/0.3361, allocations: 169.4 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3361, allocations: 0 / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004483/0.3365, allocations: 181.6 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3366, allocations: 8 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3366, allocations: 0 / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.3366, allocations: 4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3368, allocations: 47.84 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3368, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.3369, allocations: 23.83 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3369, allocations: 11.94 kB / 1.073 GB, free: 5.359 MB / 0.8262 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.0001076/0.337, allocations: 137.8 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.3371, allocations: 7.906 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003906/0.3375, allocations: 113.9 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3375, allocations: 3.938 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3375, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3375, allocations: 3.938 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.3377, allocations: 181.6 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3377, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.48e-05/0.3378, allocations: 15.98 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.3378, allocations: 3.984 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.3378, allocations: 4 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.3378, allocations: 11.88 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3378, allocations: 4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3382, allocations: 191.4 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.3383, allocations: 81.02 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.3383, allocations: 3.984 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3384, allocations: 23.92 kB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3384, allocations: 0 / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.3385, allocations: 4 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.719e-05/0.3385, allocations: 108.8 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3385, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002678/0.3388, allocations: 20 kB / 1.074 GB, free: 4.352 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.0001691/0.339, allocations: 103.8 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000384/0.3394, allocations: 107.8 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3394, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.3395, allocations: 39.89 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.3399, allocations: 13.88 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.3402, allocations: 169.8 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3405, allocations: 0.6924 MB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.3406, allocations: 28.41 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3407, allocations: 11.44 kB / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3407, allocations: 0 / 1.075 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.003118/0.3438, allocations: 0.9575 MB / 1.076 GB, free: 2.184 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