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.001582/0.001582, allocations: 103.8 kB / 16.35 MB, free: 5.824 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.00175/0.00175, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.213/2.213, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 65.12 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2535, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002237/0.2558, allocations: 1.492 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.256, allocations: 120.5 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.2561, allocations: 4 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.2561, allocations: 7.875 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.2562, allocations: 7.875 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2564, allocations: 31.95 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.393e-05/0.2565, allocations: 47.78 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.917e-05/0.2566, allocations: 15.98 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.2566, allocations: 19.92 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.2567, allocations: 19.92 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.2567, allocations: 4 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.2568, allocations: 35.95 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.2568, allocations: 12 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.2569, allocations: 27.8 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.257, allocations: 67.78 kB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.257, allocations: 3.984 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.373e-06/0.257, allocations: 0 / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.257, allocations: 0 / 1.021 GB, free: 7.926 MB / 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.0004537/0.2575, allocations: 387.2 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.2575, allocations: 12.92 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.2575, allocations: 12.77 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.2576, allocations: 168.3 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.2577, allocations: 8.375 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.2577, allocations: 384 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2579, allocations: 114.2 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.258, allocations: 192 / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.258, allocations: 3.938 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.258, allocations: 15.98 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.2583, allocations: 127.8 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.2587, allocations: 336.7 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.2589, allocations: 58.53 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.259, allocations: 36.92 kB / 1.022 GB, free: 6.516 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.2593, allocations: 121.1 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.2593, allocations: 38.5 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2593, allocations: 4 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004528/0.2598, allocations: 133.5 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2598, allocations: 59.34 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.26, allocations: 148.5 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.26, allocations: 29.7 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.26, allocations: 123.6 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.2601, allocations: 3.906 kB / 1.022 GB, free: 5.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.2601, allocations: 29.72 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.2602, allocations: 318.8 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2603, allocations: 47.95 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.2605, allocations: 122.1 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2608, allocations: 173.2 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2608, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003589/0.2612, allocations: 181.3 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2612, allocations: 8 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2612, allocations: 3.938 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2613, allocations: 4 kB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.2614, allocations: 43.84 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2614, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.824e-05/0.2615, allocations: 27.83 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.2616, allocations: 8.219 kB / 1.023 GB, free: 4.77 MB / 0.795 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.365e-05/0.2616, allocations: 129.8 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.2617, allocations: 11.91 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.262, allocations: 122 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.262, allocations: 11.95 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.262, allocations: 0 / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.262, allocations: 0 / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2622, allocations: 173.6 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2622, allocations: 3.984 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.179e-05/0.2623, allocations: 15.98 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.2623, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2623, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2623, allocations: 11.94 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2623, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2626, allocations: 203.3 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.2626, allocations: 81.02 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2626, allocations: 0 / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.662e-05/0.2627, allocations: 19.92 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.2628, allocations: 11.98 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.2628, allocations: 0 / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.2629, allocations: 103.3 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2629, allocations: 0 / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002397/0.2631, allocations: 16 kB / 1.024 GB, free: 3.77 MB / 0.795 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.0001169/0.2632, allocations: 103.2 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.2636, allocations: 111.8 kB / 1.024 GB, free: 3.547 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2636, allocations: 0 / 1.024 GB, free: 3.547 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2637, allocations: 32.59 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.264, allocations: 18.8 kB / 1.025 GB, free: 3.5 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.2643, allocations: 154 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2645, allocations: 0.7 MB / 1.025 GB, free: 2.598 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.35e-05/0.2646, allocations: 24.41 kB / 1.025 GB, free: 2.574 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.2646, allocations: 15.44 kB / 1.025 GB, free: 2.559 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2646, allocations: 4 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of Templates: time 0.002803/0.2674, allocations: 0.9563 MB / 1.026 GB, free: 1.609 MB / 0.795 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 -s cvode -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