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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_10_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.0009535/0.0009535, allocations: 97.64 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.005614/0.005614, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6364/0.6368, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.001916/0.6388, allocations: 1.215 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003427/0.6391, allocations: 124.5 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.068e-05/0.6392, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.6392, allocations: 7.938 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.103e-05/0.6393, allocations: 3.938 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.6395, allocations: 19.97 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.985e-05/0.6396, allocations: 51.78 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.6397, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.98e-05/0.6398, allocations: 23.91 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.6398, allocations: 15.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.6398, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.6399, allocations: 35.95 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.64, allocations: 8 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.64, allocations: 49.5 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.6402, allocations: 67.77 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6402, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6402, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6402, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 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.0005384/0.6407, allocations: 389.6 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6408, allocations: 8.031 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.6408, allocations: 38.75 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.6409, allocations: 8.844 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.641, allocations: 176.2 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.641, allocations: 8.312 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.641, allocations: 4.375 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.6413, allocations: 114.2 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6414, allocations: 3.938 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.6414, allocations: 8 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.6414, allocations: 15.98 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.6418, allocations: 135.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.6423, allocations: 352.5 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.6425, allocations: 78.47 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.6427, allocations: 44.92 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.643, allocations: 121.1 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.643, allocations: 30.56 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.643, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006134/0.6437, allocations: 181.4 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.6437, allocations: 55.34 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.6438, allocations: 139.7 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.6439, allocations: 25.7 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.533e-05/0.6439, allocations: 119.7 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.644, allocations: 15.83 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.644, allocations: 13.72 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6441, allocations: 326.8 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.6443, allocations: 55.95 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.6445, allocations: 121.4 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.645, allocations: 197.2 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.645, allocations: 0 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000492/0.6455, allocations: 205.2 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6455, allocations: 8 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6455, allocations: 0 / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.6455, allocations: 8.172 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.6457, allocations: 44.28 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6457, allocations: 4 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.6459, allocations: 31.83 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.6459, allocations: 15.94 kB / 1.028 GB, free: 10.87 MB / 0.7794 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.482e-05/0.646, allocations: 122.4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.646, allocations: 11.89 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004349/0.6465, allocations: 137.8 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6465, allocations: 3.938 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6465, allocations: 0 / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6465, allocations: 4 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.6467, allocations: 177.6 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6467, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.6468, allocations: 23.92 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6468, allocations: 3.938 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.6468, allocations: 3.984 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6468, allocations: 3.938 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6469, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.6473, allocations: 223.4 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.6473, allocations: 85.02 kB / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.6474, allocations: 0 / 1.028 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.6475, allocations: 23.91 kB / 1.028 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.6475, allocations: 3.938 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.6475, allocations: 4 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.758e-05/0.6476, allocations: 109.8 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6476, allocations: 4 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002822/0.6479, allocations: 24 kB / 1.029 GB, free: 9.816 MB / 0.7794 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.0007315/0.6486, allocations: 0.7514 MB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.6491, allocations: 124.4 kB / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6491, allocations: 0 / 1.029 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.6493, allocations: 51.95 kB / 1.03 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.6496, allocations: 11.94 kB / 1.03 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.6501, allocations: 222.7 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.6504, allocations: 0.6887 MB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.6505, allocations: 24.41 kB / 1.03 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.6506, allocations: 27.44 kB / 1.03 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6506, allocations: 3.938 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.67, allocations: 1.854 MB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.6702, allocations: 190.8 kB / 1.032 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.454, allocations: 0 / 1.032 GB, free: 5.828 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Bicubic.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches