Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_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.007695/0.007695, allocations: 102 kB / 15.73 MB, free: 6.039 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.001743/0.001743, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.91 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8449/0.8462, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002729/0.849, allocations: 1.488 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000337/0.8494, allocations: 123.6 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.051e-05/0.8494, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.8495, allocations: 11.92 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.06e-05/0.8496, allocations: 7.938 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.8498, allocations: 31.89 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.8499, allocations: 35.92 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.85, allocations: 15.98 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.684e-05/0.8501, allocations: 11.94 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.8501, allocations: 27.89 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.8501, allocations: 8 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.8502, allocations: 35.91 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.8503, allocations: 15.98 kB / 1.209 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.8503, allocations: 23.8 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.8505, allocations: 79.72 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.8505, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8505, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8505, allocations: 0 / 1.209 GB, free: 11.63 MB / 0.9356 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.0005381/0.851, allocations: 385.5 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8511, allocations: 12.03 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.8511, allocations: 34.73 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.8512, allocations: 8.844 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.8513, allocations: 168.3 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.8513, allocations: 4.375 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.8513, allocations: 4.312 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.8517, allocations: 108.9 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.8517, allocations: 11.88 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8517, allocations: 7.984 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.8517, allocations: 8 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.8521, allocations: 123.9 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.8526, allocations: 340.5 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.8528, allocations: 66.47 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.853, allocations: 36.92 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.8533, allocations: 125.1 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.8533, allocations: 38.5 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.8534, allocations: 0 / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005995/0.854, allocations: 145.6 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.854, allocations: 55.34 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.8541, allocations: 141.8 kB / 1.211 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.8542, allocations: 29.7 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.8542, allocations: 119.7 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.8542, allocations: 15.91 kB / 1.211 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.8543, allocations: 25.62 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.8544, allocations: 322.8 kB / 1.211 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.8547, allocations: 43.95 kB / 1.211 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.8549, allocations: 117.4 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.8553, allocations: 169.2 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8553, allocations: 0 / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004611/0.8557, allocations: 173.7 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8558, allocations: 10.09 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.8558, allocations: 7.984 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8558, allocations: 7.938 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.856, allocations: 35.91 kB / 1.212 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.856, allocations: 4 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.8561, allocations: 31.81 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.8561, allocations: 4 kB / 1.212 GB, free: 8.434 MB / 0.9356 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.042e-05/0.8562, allocations: 125.8 kB / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.8563, allocations: 7.906 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.8567, allocations: 125.8 kB / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.8567, allocations: 7.938 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.8567, allocations: 0 / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.8567, allocations: 4 kB / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.8569, allocations: 177.6 kB / 1.212 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8569, allocations: 0 / 1.212 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.857, allocations: 11.98 kB / 1.212 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.857, allocations: 4 kB / 1.212 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.857, allocations: 0 / 1.212 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.857, allocations: 3.938 kB / 1.212 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8571, allocations: 4 kB / 1.212 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.8574, allocations: 199.4 kB / 1.213 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.8575, allocations: 81.02 kB / 1.213 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.8575, allocations: 4 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.8576, allocations: 15.92 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.8577, allocations: 11.98 kB / 1.213 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.8577, allocations: 4 kB / 1.213 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.479e-05/0.8578, allocations: 103.3 kB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8578, allocations: 3.938 kB / 1.213 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000274/0.8581, allocations: 19.98 kB / 1.213 GB, free: 7.43 MB / 0.9356 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.0006867/0.8588, allocations: 0.7318 MB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.8592, allocations: 112.6 kB / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8592, allocations: 0 / 1.214 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.8593, allocations: 35.97 kB / 1.214 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.8597, allocations: 17.95 kB / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.8602, allocations: 211.4 kB / 1.214 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.8605, allocations: 0.6963 MB / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.887e-05/0.8606, allocations: 24.41 kB / 1.215 GB, free: 5.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.8607, allocations: 19.44 kB / 1.215 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of SimCode: time 2.856e-06/0.8607, allocations: 4 kB / 1.215 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.8814, allocations: 2.223 MB / 1.217 GB, free: 3.344 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.809/8.69, allocations: 6.25 kB / 1.217 GB, free: 3.34 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches