Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.Bicubic") translateModel(Buildings.Utilities.Math.Examples.Bicubic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bicubic.y",fileNamePrefix="Buildings_11_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.008445/0.008445, allocations: 98.19 kB / 15.73 MB, free: 6.496 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.001814/0.001814, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.795/2.795, allocations: 469.8 MB / 0.7425 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 75.88 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3203, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.004211/0.3245, allocations: 1.488 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004549/0.325, allocations: 115.6 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.3251, allocations: 0 / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.191e-05/0.3251, allocations: 7.938 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.3252, allocations: 7.938 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3255, allocations: 31.95 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.3257, allocations: 51.77 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.3258, allocations: 8 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.3259, allocations: 19.92 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.3259, allocations: 15.92 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.326, allocations: 4 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3261, allocations: 39.95 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.3261, allocations: 12 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.3262, allocations: 31.73 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.3264, allocations: 75.64 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.3264, allocations: 8 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3264, allocations: 3.938 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3264, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 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.0008533/0.3273, allocations: 379.1 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.3273, allocations: 8.031 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.3274, allocations: 12.89 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.3276, allocations: 172.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3276, allocations: 384 / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3276, allocations: 4.375 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/0.328, allocations: 110.1 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.328, allocations: 192 / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.328, allocations: 15.92 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/0.3281, allocations: 8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.3286, allocations: 127.8 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007375/0.3293, allocations: 336.7 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.3296, allocations: 62.47 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.3299, allocations: 36.92 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003913/0.3303, allocations: 125 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3303, allocations: 38.56 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.3303, allocations: 0 / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0007855/0.3311, allocations: 133.5 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.3311, allocations: 59.34 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3313, allocations: 147.3 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3313, allocations: 25.7 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3314, allocations: 123.8 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.3314, allocations: 7.906 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3315, allocations: 29.72 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3317, allocations: 326.8 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3319, allocations: 43.95 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.3322, allocations: 121.3 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005237/0.3327, allocations: 165.2 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3327, allocations: 0 / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006167/0.3334, allocations: 185.2 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.3334, allocations: 8 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3334, allocations: 4 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.3334, allocations: 320 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.3337, allocations: 47.84 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.3337, allocations: 4 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.3338, allocations: 27.86 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3339, allocations: 8 kB / 1.225 GB, free: 8.75 MB / 0.9825 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.0001394/0.334, allocations: 126.2 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.426e-05/0.3341, allocations: 7.953 kB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/0.3346, allocations: 121.8 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3346, allocations: 3.938 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.3346, allocations: 0 / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.3346, allocations: 4 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.3349, allocations: 185.6 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3349, allocations: 0 / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.335, allocations: 15.98 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.335, allocations: 0 / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.335, allocations: 4 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.335, allocations: 7.875 kB / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.335, allocations: 0 / 1.226 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005061/0.3355, allocations: 203.4 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.3356, allocations: 81.06 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.3357, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3358, allocations: 15.92 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.3359, allocations: 11.98 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3359, allocations: 336 / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001112/0.336, allocations: 113.1 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.336, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004308/0.3364, allocations: 15.98 kB / 1.226 GB, free: 7.75 MB / 0.9825 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.0002211/0.3367, allocations: 99.25 kB / 1.226 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005443/0.3372, allocations: 112.4 kB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3372, allocations: 0 / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.3374, allocations: 39.91 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.3379, allocations: 14.73 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005558/0.3384, allocations: 165.7 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003629/0.3388, allocations: 0.6929 MB / 1.227 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000126/0.3389, allocations: 28.41 kB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.339, allocations: 11.44 kB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.339, allocations: 0 / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of Templates: time 0.004615/0.3436, allocations: 0.9854 MB / 1.228 GB, free: 5.555 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Bicubic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches