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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 108.3 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.252/3.252, allocations: 497.2 MB / 0.7811 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 68.33 kB / 1.134 GB, free: 33.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.405, allocations: 173.9 MB / 1.304 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002758/0.4077, allocations: 1.485 MB / 1.305 GB, free: 156 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.4081, allocations: 123.7 kB / 1.306 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.615e-05/0.4081, allocations: 0 / 1.306 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.649e-05/0.4082, allocations: 3.938 kB / 1.306 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.4082, allocations: 7.922 kB / 1.306 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.4085, allocations: 31.97 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.4086, allocations: 43.91 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.4087, allocations: 12 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.4088, allocations: 15.92 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.4088, allocations: 27.86 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.4089, allocations: 4 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.4089, allocations: 35.95 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.409, allocations: 15.92 kB / 1.306 GB, free: 15.83 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.409, allocations: 27.72 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4092, allocations: 75.94 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4092, allocations: 3.938 kB / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4092, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4092, allocations: 0 / 1.306 GB, free: 15.73 MB / 1.014 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.0006141/0.4098, allocations: 383.2 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.4099, allocations: 12.92 kB / 1.306 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/0.4099, allocations: 38.73 kB / 1.306 GB, free: 15.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.4099, allocations: 8.891 kB / 1.306 GB, free: 15.24 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.4101, allocations: 180.2 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.4101, allocations: 4.359 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4101, allocations: 4.375 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.4104, allocations: 110.2 kB / 1.307 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4105, allocations: 3.938 kB / 1.307 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4105, allocations: 4 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.4105, allocations: 11.98 kB / 1.307 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.4108, allocations: 119.8 kB / 1.307 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.4114, allocations: 348.7 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.4116, allocations: 50.48 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.4117, allocations: 40.91 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.412, allocations: 129 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.4121, allocations: 34.56 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4121, allocations: 4 kB / 1.307 GB, free: 14.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005254/0.4126, allocations: 133.5 kB / 1.307 GB, free: 13.95 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.4126, allocations: 59.34 kB / 1.307 GB, free: 13.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4128, allocations: 147.5 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4128, allocations: 29.7 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.4129, allocations: 116 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.4129, allocations: 15.88 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.4129, allocations: 33.67 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4131, allocations: 318.8 kB / 1.308 GB, free: 13.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.4133, allocations: 43.95 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4135, allocations: 124.7 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.4139, allocations: 169.2 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4139, allocations: 0 / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004631/0.4143, allocations: 177.3 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.4144, allocations: 8 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4144, allocations: 4 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.4144, allocations: 3.938 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.4145, allocations: 35.97 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.4146, allocations: 7.938 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4147, allocations: 24.25 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.4147, allocations: 12 kB / 1.309 GB, free: 12.53 MB / 1.014 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.0001172/0.4148, allocations: 133.8 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/0.4148, allocations: 11.89 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.4152, allocations: 117.8 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.4152, allocations: 3.938 kB / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4152, allocations: 0 / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4152, allocations: 288 / 1.309 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.4155, allocations: 177.6 kB / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4155, allocations: 0 / 1.309 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.4156, allocations: 23.91 kB / 1.309 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4156, allocations: 3.984 kB / 1.309 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4156, allocations: 8 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4156, allocations: 3.938 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4156, allocations: 0 / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.4159, allocations: 195.4 kB / 1.309 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.416, allocations: 85.05 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.416, allocations: 4 kB / 1.309 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.4161, allocations: 15.92 kB / 1.309 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.4162, allocations: 8 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.4162, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.657e-05/0.4163, allocations: 113.3 kB / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4163, allocations: 0 / 1.31 GB, free: 11.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002647/0.4165, allocations: 12 kB / 1.31 GB, free: 11.52 MB / 1.014 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.000809/0.4174, allocations: 0.7358 MB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.4178, allocations: 111.8 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4178, allocations: 0 / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.4179, allocations: 39.89 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.4182, allocations: 11.94 kB / 1.31 GB, free: 10.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.4188, allocations: 203.9 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.4192, allocations: 0.6889 MB / 1.311 GB, free: 9.645 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.806e-05/0.4193, allocations: 24.41 kB / 1.311 GB, free: 9.621 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.4193, allocations: 27.42 kB / 1.311 GB, free: 9.594 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.4193, allocations: 0 / 1.311 GB, free: 9.594 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.4444, allocations: 2.208 MB / 1.313 GB, free: 7.465 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.57, allocations: 9.25 kB / 1.313 GB, free: 7.457 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Bicubic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.50625800807029]