Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001851/0.001851, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.821/2.821, allocations: 476.7 MB / 0.7715 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_11_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.002121/0.002121, allocations: 63.98 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4274, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003327/0.4308, allocations: 1.524 MB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004495/0.4312, allocations: 119.6 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.4313, allocations: 0 / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.846e-05/0.4313, allocations: 7.875 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.26e-05/0.4314, allocations: 11.92 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.4318, allocations: 31.89 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.4319, allocations: 47.91 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.432, allocations: 4 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.4321, allocations: 19.92 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.949e-05/0.4322, allocations: 19.92 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.4322, allocations: 7.938 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.4323, allocations: 35.95 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.4324, allocations: 19.92 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.4324, allocations: 23.88 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.4327, allocations: 87.8 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4327, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4327, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.4327, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 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.0007221/0.4334, allocations: 307.8 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.4335, allocations: 8.031 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.188e-05/0.4335, allocations: 4.188 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.4335, allocations: 34.75 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.4336, allocations: 4.891 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.4337, allocations: 126.4 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4337, allocations: 4.375 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4337, allocations: 384 / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.4341, allocations: 117.9 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.4341, allocations: 0 / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4341, allocations: 4 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.4342, allocations: 8 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.4346, allocations: 123.9 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.4352, allocations: 311.7 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.4354, allocations: 58.53 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4356, allocations: 36.92 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.4359, allocations: 47.95 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.4359, allocations: 34.56 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4359, allocations: 0 / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0006725/0.4366, allocations: 149.4 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4367, allocations: 51.41 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.4369, allocations: 143.8 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.4369, allocations: 33.64 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.437, allocations: 123.9 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.4371, allocations: 15.94 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/0.4371, allocations: 29.67 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002743/0.4374, allocations: 322.8 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.4376, allocations: 47.95 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.4378, allocations: 114.2 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.4382, allocations: 169.2 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.4382, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004601/0.4387, allocations: 181.3 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.4387, allocations: 4.312 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.4387, allocations: 8 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.4388, allocations: 11.88 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.439, allocations: 35.91 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.439, allocations: 4 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.4391, allocations: 27.88 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4391, allocations: 4 kB / 1.289 GB, free: 6.762 MB / 0.9825 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.0001287/0.4392, allocations: 125.8 kB / 1.289 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.4393, allocations: 11.95 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.4397, allocations: 121.8 kB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4397, allocations: 4 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.4397, allocations: 0 / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4397, allocations: 0 / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.4399, allocations: 148.7 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4399, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.44, allocations: 15.97 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.44, allocations: 4 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.44, allocations: 3.938 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.44, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.44, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.4404, allocations: 203.4 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.4405, allocations: 11.94 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4405, allocations: 3.938 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.4406, allocations: 15.92 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.4406, allocations: 8 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.4406, allocations: 7.984 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.342e-05/0.4407, allocations: 109.2 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4407, allocations: 0 / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002703/0.441, allocations: 19.94 kB / 1.289 GB, free: 5.887 MB / 0.9825 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.0007631/0.4418, allocations: 0.7312 MB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.4422, allocations: 112.4 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4422, allocations: 4 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.4423, allocations: 39.95 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.4427, allocations: 8 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.4433, allocations: 203.5 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4437, allocations: 0.7006 MB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.621e-05/0.4438, allocations: 20.42 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.4439, allocations: 23.42 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.4439, allocations: 3.938 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4684, allocations: 2.404 MB / 1.294 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.71, allocations: 2.031 kB / 1.294 GB, free: 1.703 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.839665050967596]