Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_10_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.0008594/0.0008592, allocations: 99.27 kB / 16.02 MB, free: 76 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.0008906/0.0008908, allocations: 183 kB / 16.92 MB, free: 6.918 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.8 MB / 0.7128 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003926, allocations: 12 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8227, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001858/0.8246, allocations: 1.211 MB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.825, allocations: 124.5 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.8251, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.8251, allocations: 3.938 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.574e-05/0.8252, allocations: 11.92 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.8254, allocations: 19.97 kB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.8255, allocations: 47.8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.8256, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.8256, allocations: 11.98 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.644e-05/0.8257, allocations: 23.86 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.8257, allocations: 3.984 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.644e-05/0.8258, allocations: 35.95 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.8258, allocations: 15.98 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.8259, allocations: 45.52 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.826, allocations: 43.92 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.826, allocations: 4 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.826, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.826, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 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.0005627/0.8266, allocations: 385.3 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.8267, allocations: 11.97 kB / 1.026 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.8267, allocations: 12.84 kB / 1.026 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.8269, allocations: 180.2 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.8269, allocations: 4.375 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.8269, allocations: 384 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.8272, allocations: 118.2 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8273, allocations: 7.938 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8273, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.8273, allocations: 11.98 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003916/0.8277, allocations: 139.9 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.8282, allocations: 348.5 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.8285, allocations: 70.53 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.8286, allocations: 48.91 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002649/0.8289, allocations: 129 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.8289, allocations: 30.56 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.829, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006173/0.8296, allocations: 173.4 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.8296, allocations: 55.34 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.8298, allocations: 143.7 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.8298, allocations: 29.7 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.8299, allocations: 119.7 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.8299, allocations: 15.84 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.8299, allocations: 21.7 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8301, allocations: 314.8 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.8303, allocations: 55.95 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.8305, allocations: 132.9 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/0.8309, allocations: 193.2 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8309, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004709/0.8314, allocations: 197.3 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.8314, allocations: 15.92 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8315, allocations: 4.312 kB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/0.8315, allocations: 11.94 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.8317, allocations: 31.98 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.8317, allocations: 11.97 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.8318, allocations: 31.83 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.8318, allocations: 8 kB / 1.028 GB, free: 10.93 MB / 0.7794 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.0001101/0.832, allocations: 123.6 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.832, allocations: 7.906 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004412/0.8324, allocations: 149.8 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8325, allocations: 3.938 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8325, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.8325, allocations: 4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.8327, allocations: 177.6 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8327, allocations: 0 / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.8328, allocations: 19.98 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8328, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.8328, allocations: 3.938 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8328, allocations: 3.938 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8328, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004097/0.8333, allocations: 227.4 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.8333, allocations: 85.02 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.8333, allocations: 336 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.8335, allocations: 19.92 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.8335, allocations: 11.92 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.8335, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.285e-05/0.8336, allocations: 112.3 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8336, allocations: 0 / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002711/0.8339, allocations: 16 kB / 1.029 GB, free: 9.879 MB / 0.7794 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.0001746/0.8341, allocations: 103.2 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.8345, allocations: 131.8 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.8345, allocations: 0 / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.8347, allocations: 52.58 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.835, allocations: 8 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.8354, allocations: 202.8 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.8357, allocations: 0.6887 MB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.8358, allocations: 19.42 kB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8358, allocations: 0 / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of Templates: time 0.003073/0.8389, allocations: 1.172 MB / 1.031 GB, free: 7.449 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches