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.00117/0.00117, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001124/0.001124, allocations: 194.4 kB / 17.31 MB, free: 5.613 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.258/2.258, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 66.78 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2576, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002297/0.26, allocations: 1.501 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002603/0.2602, allocations: 116.5 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.2603, allocations: 0 / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.2603, allocations: 3.938 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.2604, allocations: 15.92 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.2606, allocations: 31.89 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.139e-05/0.2607, allocations: 39.92 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.043e-05/0.2608, allocations: 11.98 kB / 1.028 GB, free: 308 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.2608, allocations: 23.86 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.2609, allocations: 19.92 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2609, allocations: 4 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.261, allocations: 35.95 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.261, allocations: 19.92 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.261, allocations: 27.8 kB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2612, allocations: 71.78 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2612, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2612, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2612, allocations: 0 / 1.029 GB, free: 104 kB / 0.795 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.0004763/0.2617, allocations: 379.3 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.2617, allocations: 12.75 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.2617, allocations: 8.844 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.2618, allocations: 176.2 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.2618, allocations: 384 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.2619, allocations: 8.375 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.2621, allocations: 112.9 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.2621, allocations: 192 / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2622, allocations: 3.938 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.2622, allocations: 15.98 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.2625, allocations: 127.8 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.2629, allocations: 344.5 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.2631, allocations: 58.53 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.2632, allocations: 36.92 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.2635, allocations: 129 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.2635, allocations: 34.56 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2635, allocations: 3.938 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004793/0.264, allocations: 137.5 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2641, allocations: 55.34 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2642, allocations: 145.8 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2642, allocations: 25.7 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.2643, allocations: 123.6 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.2643, allocations: 7.891 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.2644, allocations: 29.72 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2645, allocations: 322.8 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.2646, allocations: 47.95 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.2648, allocations: 113.3 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.2651, allocations: 165.2 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2651, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003724/0.2655, allocations: 185.5 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.2655, allocations: 8 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2655, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2656, allocations: 4.312 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2657, allocations: 39.91 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2657, allocations: 7.938 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.2658, allocations: 31.81 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.2659, allocations: 8 kB / 1.031 GB, free: 12.94 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 7.99e-05/0.266, allocations: 129.7 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.266, allocations: 3.906 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.2663, allocations: 121.8 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2663, allocations: 3.938 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2664, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2664, allocations: 3.984 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.2665, allocations: 177.7 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2665, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.711e-05/0.2666, allocations: 19.97 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2666, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2666, allocations: 0 / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.2667, allocations: 3.938 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2667, allocations: 3.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.267, allocations: 211.3 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.267, allocations: 85.02 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.2671, allocations: 3.938 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2672, allocations: 15.92 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.2672, allocations: 0 / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2672, allocations: 11.98 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.2673, allocations: 109.5 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2673, allocations: 0 / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002401/0.2675, allocations: 16 kB / 1.032 GB, free: 11.94 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.0001224/0.2677, allocations: 103.2 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003364/0.268, allocations: 108.4 kB / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.268, allocations: 0 / 1.032 GB, free: 11.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.2681, allocations: 35.97 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2684, allocations: 8 kB / 1.032 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.2687, allocations: 154 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.2689, allocations: 0.6963 MB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.366e-05/0.269, allocations: 24.41 kB / 1.033 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.269, allocations: 11.44 kB / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.269, allocations: 0 / 1.033 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of Templates: time 0.002871/0.2719, allocations: 0.9793 MB / 1.034 GB, free: 9.77 MB / 0.8106 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 -s cvode -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