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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 100.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 220.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.428/3.428, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 66.66 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.437, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003135/0.4402, allocations: 1.499 MB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003867/0.4406, allocations: 115.7 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.4406, allocations: 0 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.297e-05/0.4407, allocations: 7.922 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.4407, allocations: 11.94 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.441, allocations: 31.91 kB / 1.347 GB, free: 14.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.4411, allocations: 47.83 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4412, allocations: 4 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.4413, allocations: 19.98 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6e-05/0.4413, allocations: 27.78 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.4414, allocations: 4 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.4415, allocations: 39.91 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.4415, allocations: 11.98 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.4415, allocations: 23.88 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.4417, allocations: 87.86 kB / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4417, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4417, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4417, allocations: 0 / 1.347 GB, free: 14.04 MB / 1.045 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.0005992/0.4423, allocations: 302.1 kB / 1.347 GB, free: 13.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4424, allocations: 12.03 kB / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.447e-05/0.4424, allocations: 192 / 1.347 GB, free: 13.7 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.4424, allocations: 42.69 kB / 1.347 GB, free: 13.65 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.4428, allocations: 36.86 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4429, allocations: 122.4 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4429, allocations: 384 / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.4429, allocations: 4.375 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.4433, allocations: 121.9 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.4433, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4433, allocations: 0 / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.4433, allocations: 11.98 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/0.4437, allocations: 115.8 kB / 1.348 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.4443, allocations: 334.7 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.4445, allocations: 70.52 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.4447, allocations: 40.92 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.4447, allocations: 0 / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4447, allocations: 42.48 kB / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4447, allocations: 0 / 1.348 GB, free: 12.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005653/0.4453, allocations: 149.4 kB / 1.348 GB, free: 12.52 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.4453, allocations: 55.41 kB / 1.349 GB, free: 12.46 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.4455, allocations: 137.8 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4455, allocations: 33.7 kB / 1.349 GB, free: 12.27 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.4456, allocations: 124 kB / 1.349 GB, free: 12.15 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.4456, allocations: 11.84 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.4457, allocations: 33.7 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4458, allocations: 314.8 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.446, allocations: 51.94 kB / 1.349 GB, free: 11.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.4462, allocations: 121.3 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.4466, allocations: 181.2 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4466, allocations: 4 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004523/0.4471, allocations: 189.5 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.4471, allocations: 8.062 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4471, allocations: 7.938 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.4471, allocations: 7.938 kB / 1.35 GB, free: 11.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4473, allocations: 35.91 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.4473, allocations: 4 kB / 1.35 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.4474, allocations: 23.88 kB / 1.35 GB, free: 11.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.4475, allocations: 8 kB / 1.35 GB, free: 11.08 MB / 1.045 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.0001059/0.4476, allocations: 121.8 kB / 1.35 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4476, allocations: 15.89 kB / 1.35 GB, free: 10.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.4476, allocations: 16.28 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4476, allocations: 4 kB / 1.35 GB, free: 10.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.4476, allocations: 4 kB / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4476, allocations: 0 / 1.35 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.4478, allocations: 144.6 kB / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4478, allocations: 0 / 1.35 GB, free: 10.72 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.4479, allocations: 15.98 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.448, allocations: 0 / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.448, allocations: 3.938 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.448, allocations: 4 kB / 1.35 GB, free: 10.7 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.448, allocations: 3.938 kB / 1.35 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.4484, allocations: 207.4 kB / 1.35 GB, free: 10.47 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.4484, allocations: 11.95 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.4484, allocations: 3.938 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4485, allocations: 11.98 kB / 1.35 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.4486, allocations: 8.266 kB / 1.35 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.4486, allocations: 7.938 kB / 1.35 GB, free: 10.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.9e-05/0.4487, allocations: 108.3 kB / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4487, allocations: 0 / 1.35 GB, free: 10.32 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002543/0.4489, allocations: 16 kB / 1.35 GB, free: 10.31 MB / 1.045 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.0007047/0.4496, allocations: 0.7319 MB / 1.351 GB, free: 9.551 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003926/0.45, allocations: 115.7 kB / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.45, allocations: 0 / 1.351 GB, free: 9.438 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.4502, allocations: 39.97 kB / 1.351 GB, free: 9.398 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.4505, allocations: 17.86 kB / 1.351 GB, free: 9.383 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.4511, allocations: 211.4 kB / 1.352 GB, free: 9.137 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.4512, allocations: 79.27 kB / 1.352 GB, free: 9.039 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 9.462e-05/0.4513, allocations: 24.41 kB / 1.352 GB, free: 9.016 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.4513, allocations: 23.38 kB / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4513, allocations: 0 / 1.352 GB, free: 8.992 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.4741, allocations: 2.398 MB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.76, allocations: 9.625 kB / 1.354 GB, free: 6.746 MB / 1.045 GB " [Timeout remaining time 288] (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/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: 19.08919127297122]