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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001381/0.001381, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001331/0.001331, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.859/2.859, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.88 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6268, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002713/0.6295, allocations: 1.562 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.6299, allocations: 120.5 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.6299, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.486e-05/0.63, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.6301, allocations: 11.88 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.6303, allocations: 23.97 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.6303, allocations: 39.86 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.955e-05/0.6304, allocations: 15.98 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.6305, allocations: 15.98 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.578e-05/0.6305, allocations: 23.84 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.6306, allocations: 4 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.6306, allocations: 31.97 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.77e-05/0.6307, allocations: 15.92 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.6307, allocations: 23.8 kB / 1.018 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.6309, allocations: 67.78 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.6309, allocations: 8 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.31e-07/0.6309, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.6309, allocations: 4 kB / 1.019 GB, free: 0.8203 MB / 0.7637 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.0005815/0.6315, allocations: 377.3 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.6315, allocations: 8.031 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.6316, allocations: 8.844 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.6317, allocations: 180.2 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.6317, allocations: 384 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6317, allocations: 4.375 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.6321, allocations: 116.7 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6321, allocations: 192 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.6321, allocations: 7.938 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.6322, allocations: 11.98 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.6326, allocations: 115.9 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.633, allocations: 348.6 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.6333, allocations: 58.47 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.6334, allocations: 36.92 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.6338, allocations: 129.1 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.6338, allocations: 38.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6338, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005846/0.6344, allocations: 133.5 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.6344, allocations: 55.34 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.6346, allocations: 160 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6346, allocations: 25.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.6347, allocations: 115.8 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.6347, allocations: 19.8 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.6348, allocations: 29.72 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6349, allocations: 318.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.6351, allocations: 43.95 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.6353, allocations: 113.4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.6357, allocations: 169.4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6357, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004607/0.6362, allocations: 189.2 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6362, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.6362, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.6363, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.6364, allocations: 39.84 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.6364, allocations: 4 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.6366, allocations: 32.14 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.6366, allocations: 8 kB / 1.021 GB, free: 13.67 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 9.748e-05/0.6367, allocations: 121.8 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.6367, allocations: 7.906 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004168/0.6372, allocations: 121.9 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.6372, allocations: 3.938 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6372, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.6372, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.6374, allocations: 173.6 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6374, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.6375, allocations: 23.91 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6375, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6375, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.6375, allocations: 7.875 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6375, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.638, allocations: 195.4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/0.638, allocations: 93 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.638, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6382, allocations: 11.92 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.6382, allocations: 8 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.6382, allocations: 7.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.861e-05/0.6383, allocations: 104 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6383, allocations: 0 / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002708/0.6386, allocations: 16 kB / 1.022 GB, free: 12.68 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.6388, allocations: 107.8 kB / 1.022 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.6392, allocations: 107.8 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6392, allocations: 3.938 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.6394, allocations: 44.53 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.6397, allocations: 5.719 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.6401, allocations: 179.7 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.6404, allocations: 0.6926 MB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.6406, allocations: 24.41 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.6406, allocations: 15.38 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.6406, allocations: 0 / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.00347/0.6441, allocations: 0.8311 MB / 1.024 GB, free: 10.62 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches