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.001514/0.001514, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001906, allocations: 193.1 kB / 16.53 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.317/2.317, allocations: 390.2 MB / 0.6646 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 67.89 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.815, allocations: 140.4 MB / 0.9496 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002776/0.8178, allocations: 1.483 MB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003509/0.8182, allocations: 118.4 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.8183, allocations: 4 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.853e-05/0.8183, allocations: 5.156 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.8184, allocations: 14.34 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.8187, allocations: 26.67 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.8188, allocations: 41.7 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.8189, allocations: 16.97 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.764e-05/0.8189, allocations: 18.17 kB / 0.9513 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.636e-05/0.819, allocations: 25.48 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.819, allocations: 4.875 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.8191, allocations: 38.11 kB / 0.9513 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.8192, allocations: 12.97 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.8192, allocations: 27.98 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.8194, allocations: 73.05 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8194, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8194, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.8194, allocations: 0 / 0.9514 GB, free: 7.711 MB / 0.7169 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.0005148/0.8199, allocations: 386 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8199, allocations: 9.438 kB / 0.9518 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.82, allocations: 8.031 kB / 0.9518 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.424e-05/0.8201, allocations: 171.2 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8201, allocations: 2 kB / 0.952 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.8201, allocations: 6.188 kB / 0.952 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.8204, allocations: 109.5 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.8204, allocations: 8.172 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.8205, allocations: 5.094 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.8205, allocations: 15.11 kB / 0.9521 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003375/0.8208, allocations: 114.9 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.8212, allocations: 349.8 kB / 0.9526 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.8215, allocations: 61.41 kB / 0.9526 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.8216, allocations: 36.2 kB / 0.9527 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.8219, allocations: 123.2 kB / 0.9528 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.822, allocations: 31.88 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.822, allocations: 0 / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005646/0.8225, allocations: 144.9 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.8226, allocations: 56.41 kB / 0.953 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8227, allocations: 147.3 kB / 0.9531 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.8227, allocations: 25.7 kB / 0.9532 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/0.8228, allocations: 125.2 kB / 0.9533 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.8228, allocations: 10.19 kB / 0.9533 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.8228, allocations: 27.72 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.8229, allocations: 321.3 kB / 0.9536 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.8231, allocations: 44.8 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.8233, allocations: 120.2 kB / 0.9538 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.8236, allocations: 173.2 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8237, allocations: 3.938 kB / 0.9539 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004173/0.8241, allocations: 180.2 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.8241, allocations: 5.188 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8241, allocations: 2.344 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.8241, allocations: 4.219 kB / 0.9541 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.8243, allocations: 40.84 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.8243, allocations: 4.094 kB / 0.9542 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.8245, allocations: 22.89 kB / 0.9542 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.8245, allocations: 15.27 kB / 0.9542 GB, free: 5.199 MB / 0.7169 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.238e-05/0.8246, allocations: 123.8 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.8246, allocations: 7.375 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.825, allocations: 119.1 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.825, allocations: 3.938 kB / 0.9545 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.825, allocations: 5.281 kB / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.825, allocations: 0 / 0.9545 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.8252, allocations: 182.5 kB / 0.9546 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8252, allocations: 0 / 0.9546 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.8253, allocations: 15.08 kB / 0.9546 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.8253, allocations: 288 / 0.9546 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.8253, allocations: 1.438 kB / 0.9546 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8253, allocations: 7.938 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8253, allocations: 0 / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.8256, allocations: 203.9 kB / 0.9549 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.8257, allocations: 78.36 kB / 0.9549 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.8257, allocations: 1.125 kB / 0.9549 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8258, allocations: 18.48 kB / 0.9549 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.8259, allocations: 6.422 kB / 0.955 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.8259, allocations: 2.531 kB / 0.955 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.8259, allocations: 110 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8259, allocations: 1.406 kB / 0.9551 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002652/0.8262, allocations: 18.22 kB / 0.9551 GB, free: 4.379 MB / 0.7169 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.0001581/0.8264, allocations: 114.4 kB / 0.9552 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.8268, allocations: 102.4 kB / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8268, allocations: 0 / 0.9553 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.8269, allocations: 42.31 kB / 0.9553 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.8273, allocations: 14.27 kB / 0.9553 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.8277, allocations: 168.3 kB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.8278, allocations: 0.6888 MB / 0.9562 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.41e-05/0.8279, allocations: 33.41 kB / 0.9562 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.828, allocations: 12.28 kB / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.828, allocations: 0 / 0.9562 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.003314/0.8313, allocations: 0.9601 MB / 0.9572 GB, free: 2.848 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches