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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006623/0.006623, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.241/1.241, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.108/2.108, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5405/0.5408, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001159/0.542, allocations: 1.207 MB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002651/0.5423, allocations: 126 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.5423, allocations: 5.125 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.341e-05/0.5423, allocations: 0 / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.834e-05/0.5424, allocations: 7.156 kB / 0.9565 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.5425, allocations: 24.34 kB / 0.9565 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.919e-05/0.5426, allocations: 42.98 kB / 0.9565 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.002e-05/0.5427, allocations: 11.33 kB / 0.9565 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.5427, allocations: 13.61 kB / 0.9566 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.5427, allocations: 22.5 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.5428, allocations: 2.062 kB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.5428, allocations: 32.75 kB / 0.9566 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.5429, allocations: 16.64 kB / 0.9566 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.5429, allocations: 53.16 kB / 0.9567 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.65e-05/0.543, allocations: 67.98 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.543, allocations: 1.188 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.543, allocations: 0 / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.886e-06/0.543, allocations: 0 / 0.9567 GB, free: 6.363 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.0003754/0.5434, allocations: 394.2 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5435, allocations: 9.062 kB / 0.9571 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.5435, allocations: 33.44 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.5435, allocations: 7.531 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.178e-05/0.5436, allocations: 175.3 kB / 0.9573 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.5436, allocations: 5.438 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.5436, allocations: 3.219 kB / 0.9573 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.5439, allocations: 118.9 kB / 0.9575 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.5439, allocations: 3.938 kB / 0.9575 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.5439, allocations: 4 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.5439, allocations: 12.61 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.5443, allocations: 151.7 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.5446, allocations: 342.8 kB / 0.958 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.5448, allocations: 70.73 kB / 0.958 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.545, allocations: 53.47 kB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.5452, allocations: 122.7 kB / 0.9582 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.5452, allocations: 38.56 kB / 0.9582 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5452, allocations: 1.375 kB / 0.9582 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000512/0.5457, allocations: 165.2 kB / 0.9584 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.671e-05/0.5457, allocations: 57.09 kB / 0.9584 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.5458, allocations: 142.6 kB / 0.9586 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-06/0.5458, allocations: 29.7 kB / 0.9586 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.5459, allocations: 121.3 kB / 0.9587 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/0.5459, allocations: 14.09 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.5459, allocations: 21.61 kB / 0.9588 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.5459, allocations: 316.4 kB / 0.9591 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.5461, allocations: 63.56 kB / 0.9591 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.5463, allocations: 130.6 kB / 0.9592 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.5466, allocations: 184.1 kB / 0.9594 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5466, allocations: 0 / 0.9594 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004075/0.547, allocations: 206.8 kB / 0.9596 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.5471, allocations: 10.92 kB / 0.9596 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5471, allocations: 2.531 kB / 0.9596 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5471, allocations: 7.844 kB / 0.9596 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5472, allocations: 34.23 kB / 0.9597 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5473, allocations: 10.98 kB / 0.9597 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.5474, allocations: 35.05 kB / 0.9597 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.5474, allocations: 7.875 kB / 0.9597 GB, free: 3.793 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 5.272e-05/0.5474, allocations: 116.6 kB / 0.9598 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.5475, allocations: 8.031 kB / 0.9598 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.5479, allocations: 149.3 kB / 0.96 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5479, allocations: 5 kB / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5479, allocations: 0 / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5479, allocations: 0 / 0.96 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.548, allocations: 178.5 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.548, allocations: 0 / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.5481, allocations: 21.11 kB / 0.9602 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.5481, allocations: 0 / 0.9602 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.5481, allocations: 4 kB / 0.9602 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5481, allocations: 5.281 kB / 0.9602 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.5481, allocations: 3.984 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.5485, allocations: 223 kB / 0.9604 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.5485, allocations: 82.39 kB / 0.9605 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.5485, allocations: 1.375 kB / 0.9605 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5486, allocations: 26.91 kB / 0.9605 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.5487, allocations: 6.688 kB / 0.9605 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.5487, allocations: 6.688 kB / 0.9605 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.378e-05/0.5487, allocations: 109.2 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5487, allocations: 0 / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000248/0.549, allocations: 19.12 kB / 0.9606 GB, free: 2.961 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.0004911/0.5495, allocations: 0.7539 MB / 0.9614 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003598/0.5499, allocations: 128.2 kB / 0.9615 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.5499, allocations: 0 / 0.9615 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.55, allocations: 46.22 kB / 0.9615 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.5503, allocations: 19.98 kB / 0.9616 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.5507, allocations: 220.8 kB / 0.9618 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.521e-05/0.5508, allocations: 0.6931 MB / 0.9624 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.5509, allocations: 33.72 kB / 0.9625 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.5509, allocations: 19.19 kB / 0.9625 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.551, allocations: 0 / 0.9625 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.5613, allocations: 1.852 MB / 0.9643 GB, free: 356 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001366/0.5614, allocations: 182 kB / 0.9645 GB, free: 100 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.481/2.043, allocations: 0 / 0.9645 GB, free: 100 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Bicubic.fmu > 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