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.001242/0.001242, allocations: 104 kB / 16.27 MB, free: 5.98 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.001263/0.001263, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.371/2.371, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 71.45 kB / 0.8132 GB, free: 32.92 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3087, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00371/0.3124, allocations: 1.49 MB / 0.9517 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004223/0.3129, allocations: 120.5 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.313, allocations: 0 / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.118e-05/0.313, allocations: 3.938 kB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.5e-05/0.3131, allocations: 15.86 kB / 0.9519 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.3134, allocations: 27.95 kB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3136, allocations: 47.84 kB / 0.9519 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3137, allocations: 8 kB / 0.9519 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.558e-05/0.3138, allocations: 19.92 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.3138, allocations: 15.92 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.3139, allocations: 7.938 kB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.314, allocations: 39.95 kB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.314, allocations: 15.98 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.3141, allocations: 19.81 kB / 0.952 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3143, allocations: 79.77 kB / 0.9521 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3143, allocations: 4 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3143, allocations: 0 / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.3143, allocations: 0 / 0.9521 GB, free: 6.969 MB / 0.7325 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.0006601/0.315, allocations: 383.5 kB / 0.9525 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.315, allocations: 8.031 kB / 0.9525 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.3151, allocations: 8.844 kB / 0.9525 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3153, allocations: 176.2 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3153, allocations: 4.375 kB / 0.9527 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.3153, allocations: 4.375 kB / 0.9527 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003266/0.3156, allocations: 110.2 kB / 0.9528 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3157, allocations: 4.188 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.3157, allocations: 3.938 kB / 0.9528 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.3157, allocations: 8 kB / 0.9528 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.3161, allocations: 127.8 kB / 0.9529 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.3166, allocations: 340.6 kB / 0.9533 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3169, allocations: 50.53 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.317, allocations: 44.92 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.3174, allocations: 125.1 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3174, allocations: 30.56 kB / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.3174, allocations: 0 / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005815/0.318, allocations: 137.4 kB / 0.9536 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3181, allocations: 59.34 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3182, allocations: 156.1 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3183, allocations: 25.7 kB / 0.9539 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.295e-05/0.3184, allocations: 119.6 kB / 0.954 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3184, allocations: 15.81 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.3184, allocations: 33.64 kB / 0.954 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3186, allocations: 314.8 kB / 0.9543 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.3188, allocations: 47.95 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.319, allocations: 113.4 kB / 0.9545 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.3194, allocations: 177.4 kB / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3194, allocations: 0 / 0.9546 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004632/0.3199, allocations: 181.3 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3199, allocations: 4 kB / 0.9548 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3199, allocations: 4 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.3199, allocations: 7.938 kB / 0.9548 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3201, allocations: 44.22 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3201, allocations: 4 kB / 0.9549 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3203, allocations: 27.81 kB / 0.9549 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3203, allocations: 12 kB / 0.9549 GB, free: 3.809 MB / 0.7325 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.0001134/0.3204, allocations: 125.7 kB / 0.955 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3205, allocations: 7.906 kB / 0.955 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.3209, allocations: 121.8 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3209, allocations: 3.938 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3209, allocations: 4 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3209, allocations: 0 / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.3211, allocations: 173.6 kB / 0.9553 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3211, allocations: 4 kB / 0.9553 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.574e-05/0.3212, allocations: 15.98 kB / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3213, allocations: 0 / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3213, allocations: 0 / 0.9553 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3213, allocations: 3.938 kB / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3213, allocations: 0 / 0.9554 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003912/0.3217, allocations: 203.4 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.3217, allocations: 85.02 kB / 0.9556 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.3218, allocations: 0 / 0.9556 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3219, allocations: 15.92 kB / 0.9556 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.3219, allocations: 11.92 kB / 0.9557 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3219, allocations: 7.938 kB / 0.9557 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.924e-05/0.322, allocations: 103.3 kB / 0.9558 GB, free: 2.836 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.322, allocations: 4 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002738/0.3223, allocations: 19.98 kB / 0.9558 GB, free: 2.812 MB / 0.7325 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.0001778/0.3225, allocations: 99.25 kB / 0.9559 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000406/0.3229, allocations: 104.4 kB / 0.956 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3229, allocations: 4 kB / 0.956 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.3231, allocations: 39.95 kB / 0.956 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.3234, allocations: 14.59 kB / 0.956 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.3239, allocations: 191.6 kB / 0.9562 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3242, allocations: 0.6924 MB / 0.9569 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.3242, allocations: 15.42 kB / 0.9569 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.3243, allocations: 0 / 0.9569 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.00327/0.3275, allocations: 1.18 MB / 0.9581 GB, free: 432 kB / 0.7325 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