Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_9_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.001694/0.001695, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001847/0.001847, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092/1.094, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002852/1.097, allocations: 1.481 MB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003635/1.097, allocations: 128.9 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.977e-05/1.097, allocations: 0 / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/1.097, allocations: 4.641 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/1.097, allocations: 8.109 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000274/1.098, allocations: 33.95 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/1.098, allocations: 51.56 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/1.098, allocations: 6.359 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.781e-05/1.098, allocations: 17.81 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/1.098, allocations: 24.09 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/1.098, allocations: 4.094 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/1.098, allocations: 38.47 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/1.098, allocations: 14.8 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/1.098, allocations: 26.28 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/1.098, allocations: 79.2 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.098, allocations: 1.859 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.084e-06/1.098, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.104e-05/1.099, allocations: 0 / 1.09 GB, free: 4.27 MB / 0.8575 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.0006164/1.099, allocations: 377.5 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.099, allocations: 9.031 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/1.099, allocations: 7.688 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/1.099, allocations: 181.2 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.099, allocations: 1.531 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.099, allocations: 5.75 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/1.1, allocations: 115.3 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/1.1, allocations: 1.25 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.1, allocations: 4.594 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.1, allocations: 13.39 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/1.1, allocations: 120 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004879/1.101, allocations: 345.6 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/1.101, allocations: 59.88 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/1.101, allocations: 41.27 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/1.101, allocations: 123.7 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/1.102, allocations: 32.45 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.102, allocations: 0 / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.000639/1.102, allocations: 139 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/1.102, allocations: 53.42 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/1.102, allocations: 154.6 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/1.102, allocations: 30.34 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/1.102, allocations: 125.3 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/1.103, allocations: 10.88 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/1.103, allocations: 29.84 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/1.103, allocations: 319.4 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/1.103, allocations: 49.89 kB / 1.093 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/1.103, allocations: 107.1 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/1.104, allocations: 168 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.104, allocations: 1.125 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005573/1.104, allocations: 185.8 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/1.104, allocations: 10.11 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.104, allocations: 2.156 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/1.104, allocations: 4 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/1.104, allocations: 41.64 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/1.104, allocations: 7.172 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/1.105, allocations: 27.25 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/1.105, allocations: 8.188 kB / 1.093 GB, free: 2.02 MB / 0.8575 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.783e-05/1.105, allocations: 122.9 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/1.105, allocations: 6.906 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/1.105, allocations: 117.4 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.105, allocations: 0 / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/1.105, allocations: 4.594 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/1.105, allocations: 83.91 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.105, allocations: 0.6562 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/1.106, allocations: 18.91 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/1.106, allocations: 5.375 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004501/1.106, allocations: 184.4 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003835/1.106, allocations: 281.3 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001624/1.107, allocations: 38.17 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.444e-05/1.107, allocations: 109.3 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of Backend: time 4.91e-07/1.107, allocations: 0.75 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000597/1.107, allocations: 158.4 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005405/1.108, allocations: 0.6107 MB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of Templates: time 0.004305/1.112, allocations: 1.181 MB / 1.096 GB, free: 0.4922 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches