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.009084/0.009084, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001865/0.001865, allocations: 188.5 kB / 16.67 MB, free: 6.367 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 / 240.4 MB, free: 4.301 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.608/2.608, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001219, allocations: 59.91 kB / 1.019 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3176, allocations: 151.6 MB / 1.167 GB, free: 6.918 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00262/0.3203, allocations: 1.473 MB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.3207, allocations: 132.4 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.3207, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.3208, allocations: 7.938 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.799e-05/0.3209, allocations: 11.92 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.3211, allocations: 35.89 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3212, allocations: 39.91 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3214, allocations: 8 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.3214, allocations: 19.92 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.3215, allocations: 19.92 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3215, allocations: 8 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.3216, allocations: 35.95 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.3217, allocations: 19.92 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.3217, allocations: 23.8 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.3219, allocations: 75.66 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3219, allocations: 4 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3219, allocations: 0 / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.3219, allocations: 0 / 1.168 GB, free: 4.992 MB / 0.92 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.0006486/0.3226, allocations: 387.1 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3226, allocations: 8.031 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.3227, allocations: 12.89 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3229, allocations: 180.2 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3229, allocations: 384 / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.3229, allocations: 4.375 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.3232, allocations: 106.2 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3233, allocations: 192 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3233, allocations: 15.88 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.3233, allocations: 11.98 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003473/0.3237, allocations: 115.9 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.3242, allocations: 352.6 kB / 1.17 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3244, allocations: 54.53 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.3246, allocations: 40.92 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003187/0.3249, allocations: 125.1 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.325, allocations: 34.5 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.325, allocations: 0 / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005797/0.3256, allocations: 141.5 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.3256, allocations: 55.34 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3258, allocations: 147.8 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3258, allocations: 25.7 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.3259, allocations: 120 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.3259, allocations: 19.84 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.326, allocations: 29.72 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3261, allocations: 322.8 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3263, allocations: 39.95 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.3265, allocations: 117.4 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.3269, allocations: 173.2 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3269, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004161/0.3273, allocations: 177.6 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3273, allocations: 4.312 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3273, allocations: 8 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.3274, allocations: 4 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3275, allocations: 43.84 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3275, allocations: 4 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3277, allocations: 23.92 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.3277, allocations: 11.98 kB / 1.171 GB, free: 1.828 MB / 0.92 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.233e-05/0.3278, allocations: 125.7 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3278, allocations: 11.95 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3282, allocations: 117.8 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.3282, allocations: 7.938 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3282, allocations: 0 / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3283, allocations: 4 kB / 1.172 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3284, allocations: 173.6 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3285, allocations: 0 / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.3285, allocations: 11.98 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3286, allocations: 8 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3286, allocations: 4 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3286, allocations: 7.875 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3286, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.329, allocations: 203.4 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.329, allocations: 81.06 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3291, allocations: 4 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3292, allocations: 15.92 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3293, allocations: 11.98 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.3293, allocations: 4 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.656e-05/0.3294, allocations: 108.9 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3294, allocations: 0 / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002671/0.3296, allocations: 20 kB / 1.172 GB, free: 0.8203 MB / 0.92 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.0001959/0.3298, allocations: 103.2 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.3302, allocations: 103.8 kB / 1.172 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3303, allocations: 3.938 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3304, allocations: 35.97 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3307, allocations: 10.64 kB / 1.172 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.3311, allocations: 165.8 kB / 1.173 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3314, allocations: 0.6929 MB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.153e-05/0.3315, allocations: 24.41 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.3315, allocations: 11.44 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3315, allocations: 4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of Templates: time 0.003415/0.335, allocations: 0.9849 MB / 1.174 GB, free: 14.64 MB / 0.9356 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/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