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.005357/0.005357, allocations: 103.5 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.001308/0.001308, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4008, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.004417/0.4053, allocations: 1.49 MB / 1.168 GB, free: 5.832 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005954/0.4059, allocations: 124.4 kB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.406, allocations: 0 / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.431e-05/0.4061, allocations: 7.922 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.4062, allocations: 11.94 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.4066, allocations: 27.89 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.4067, allocations: 39.92 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.4069, allocations: 15.97 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.407, allocations: 15.94 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.4071, allocations: 23.91 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.4071, allocations: 4 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.4073, allocations: 31.97 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.4074, allocations: 23.86 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.4074, allocations: 27.8 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.4077, allocations: 71.78 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4077, allocations: 0 / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 5.761e-06/0.4077, allocations: 4 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.4077, allocations: 0 / 1.168 GB, free: 5.406 MB / 0.92 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.0007649/0.4085, allocations: 382.9 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.4086, allocations: 8.031 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.4086, allocations: 38.73 kB / 1.168 GB, free: 4.93 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.4087, allocations: 8.844 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.4089, allocations: 172.3 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.4089, allocations: 8.375 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.4089, allocations: 384 / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.4093, allocations: 107.9 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4094, allocations: 7.922 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.4094, allocations: 7.984 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-05/0.4094, allocations: 8 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005295/0.41, allocations: 127.9 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.4107, allocations: 340.5 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.411, allocations: 62.53 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.4112, allocations: 36.92 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004267/0.4116, allocations: 129 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4117, allocations: 30.56 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.4117, allocations: 0 / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0008076/0.4125, allocations: 141.4 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.4126, allocations: 55.34 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.4128, allocations: 143.5 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.4128, allocations: 33.64 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.4129, allocations: 119.7 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.4129, allocations: 11.84 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.413, allocations: 29.62 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4132, allocations: 322.8 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.4134, allocations: 47.95 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.4137, allocations: 117.4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005111/0.4142, allocations: 161.2 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4142, allocations: 4 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000624/0.4149, allocations: 177.3 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4149, allocations: 8 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.4149, allocations: 0 / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.415, allocations: 12.25 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.4152, allocations: 35.97 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.4153, allocations: 3.938 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.4154, allocations: 27.88 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.4155, allocations: 8 kB / 1.171 GB, free: 2.219 MB / 0.92 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 0.0001458/0.4156, allocations: 124 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.4157, allocations: 8.141 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.4162, allocations: 129.8 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.4162, allocations: 3.938 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.4163, allocations: 0 / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4163, allocations: 4 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.4165, allocations: 177.6 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4165, allocations: 4 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001293/0.4167, allocations: 15.98 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.4167, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4167, allocations: 3.938 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.4167, allocations: 7.938 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4167, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.4172, allocations: 203.4 kB / 1.171 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.4173, allocations: 81.02 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4173, allocations: 3.938 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.4175, allocations: 15.92 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.4176, allocations: 7.984 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.4176, allocations: 4 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001145/0.4177, allocations: 109.1 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4178, allocations: 0 / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005521/0.4183, allocations: 19.98 kB / 1.172 GB, free: 1.211 MB / 0.92 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.00108/0.4194, allocations: 0.7358 MB / 1.172 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005882/0.42, allocations: 111.7 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4201, allocations: 0.625 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.4203, allocations: 35.97 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.4209, allocations: 11.94 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.4218, allocations: 203.4 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.4222, allocations: 0.6929 MB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001333/0.4224, allocations: 28.41 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4225, allocations: 19.44 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.4225, allocations: 0 / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.4434, allocations: 2.196 MB / 1.176 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.346, allocations: 9.484 kB / 1.176 GB, free: 13.16 MB / 0.9356 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