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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.004997/0.004997, allocations: 101 kB / 15.73 MB, free: 6.059 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.001255/0.001255, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 67.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7455, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002605/0.7482, allocations: 1.48 MB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003384/0.7485, allocations: 134.9 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.7486, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.7486, allocations: 7.922 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.7487, allocations: 7.938 kB / 1.168 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.7489, allocations: 27.91 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.749, allocations: 43.84 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.943e-05/0.7491, allocations: 15.98 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.7492, allocations: 19.92 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.7493, allocations: 23.91 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.7493, allocations: 4 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.7494, allocations: 39.91 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.962e-05/0.7494, allocations: 19.92 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.7495, allocations: 19.86 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.7496, allocations: 74.39 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.7496, allocations: 4 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7496, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.258e-06/0.7496, allocations: 4 kB / 1.168 GB, free: 1.848 MB / 0.8887 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.0005866/0.7502, allocations: 384.1 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7503, allocations: 8.922 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.7503, allocations: 42.73 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.7504, allocations: 8.891 kB / 1.168 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.7505, allocations: 168.3 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7505, allocations: 8.375 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.7505, allocations: 384 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.7509, allocations: 112 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.7509, allocations: 3.938 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.7509, allocations: 4 kB / 1.169 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.7509, allocations: 11.98 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003761/0.7513, allocations: 123.8 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.7518, allocations: 348.6 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.752, allocations: 58.53 kB / 1.169 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.7522, allocations: 36.92 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.7525, allocations: 125.1 kB / 1.169 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.7526, allocations: 34.56 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.7526, allocations: 4 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0006078/0.7532, allocations: 133.5 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.7532, allocations: 59.34 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.7534, allocations: 152.4 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7535, allocations: 29.7 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.7536, allocations: 115.8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.7536, allocations: 11.91 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.7536, allocations: 29.66 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.7538, allocations: 322.8 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.754, allocations: 43.95 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.7542, allocations: 122.2 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.7546, allocations: 169.2 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7546, allocations: 0 / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004688/0.7551, allocations: 181.3 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7551, allocations: 8 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.7551, allocations: 4 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.7552, allocations: 4.172 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.7553, allocations: 35.97 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7553, allocations: 7.938 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.7555, allocations: 28.19 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.7555, allocations: 11.98 kB / 1.171 GB, free: 14.64 MB / 0.9044 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.917e-05/0.7556, allocations: 121.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.7556, allocations: 11.94 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.7561, allocations: 125.8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.7561, allocations: 3.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.7561, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.7561, allocations: 0 / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.7563, allocations: 173.6 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7563, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.7564, allocations: 19.98 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7564, allocations: 4 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.7564, allocations: 4 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.7564, allocations: 3.938 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.7564, allocations: 0 / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.7568, allocations: 199.4 kB / 1.171 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.7569, allocations: 89 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.757, allocations: 0 / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.7571, allocations: 15.92 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.7571, allocations: 11.98 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.7571, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.7572, allocations: 107.3 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7572, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002668/0.7575, allocations: 12 kB / 1.172 GB, free: 13.65 MB / 0.9044 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.0007799/0.7583, allocations: 0.7319 MB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004267/0.7587, allocations: 119.7 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7587, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.7589, allocations: 35.97 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.7592, allocations: 15 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.7598, allocations: 215.3 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.7602, allocations: 0.6923 MB / 1.173 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.003e-05/0.7603, allocations: 24.41 kB / 1.173 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.7603, allocations: 23.44 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.7603, allocations: 4 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.7845, allocations: 2.183 MB / 1.176 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.858, allocations: 16.86 kB / 1.176 GB, free: 9.578 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.Bicubic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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