Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001253/0.001253, allocations: 113.5 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.001469/0.001469, allocations: 221.7 kB / 23.05 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.288/3.288, allocations: 0.49 GB / 0.7959 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_Bicubic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_12_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.002113/0.002113, allocations: 67.3 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4188, allocations: 176.1 MB / 1.327 GB, free: 2.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.003069/0.4219, allocations: 1.517 MB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003902/0.4223, allocations: 127.6 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.4223, allocations: 0 / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.4224, allocations: 3.938 kB / 1.328 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.4224, allocations: 7.938 kB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.4227, allocations: 35.89 kB / 1.328 GB, free: 332 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.4228, allocations: 39.86 kB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4229, allocations: 15.98 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.423, allocations: 19.92 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.4231, allocations: 23.91 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.4231, allocations: 4 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.4232, allocations: 35.97 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.4232, allocations: 15.92 kB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.4233, allocations: 19.88 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.4235, allocations: 83.8 kB / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4235, allocations: 0 / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4235, allocations: 0 / 1.329 GB, free: 72 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4235, allocations: 4 kB / 1.329 GB, free: 68 kB / 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.00068/0.4242, allocations: 306.1 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.4242, allocations: 8.031 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/0.4242, allocations: 4.188 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.4243, allocations: 34.75 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.4243, allocations: 8.891 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.4245, allocations: 122.4 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4245, allocations: 8.375 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4245, allocations: 4.375 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.4249, allocations: 115.8 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4249, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4249, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.4249, allocations: 11.98 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.4253, allocations: 119.9 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.4259, allocations: 319.7 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.4262, allocations: 54.53 kB / 1.33 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.4263, allocations: 44.91 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.4266, allocations: 43.97 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.4266, allocations: 34.56 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.4266, allocations: 0 / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0006059/0.4273, allocations: 141.4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.4273, allocations: 55.41 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.4275, allocations: 151.5 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.4275, allocations: 25.7 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4276, allocations: 131.8 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.4276, allocations: 3.953 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.4277, allocations: 41.61 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4279, allocations: 318.8 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.428, allocations: 47.95 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.4283, allocations: 110.5 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.4286, allocations: 177.4 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4286, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004607/0.4291, allocations: 189.3 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4291, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4291, allocations: 4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.4292, allocations: 7.938 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.4293, allocations: 31.97 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4293, allocations: 4.312 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.4295, allocations: 35.8 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.4295, allocations: 8 kB / 1.331 GB, free: 13.14 MB / 1.029 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.0001127/0.4296, allocations: 124.6 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.4296, allocations: 3.953 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004187/0.43, allocations: 125.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.43, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.4301, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4301, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.4303, allocations: 148.7 kB / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4303, allocations: 0 / 1.332 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.4304, allocations: 19.98 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4304, allocations: 0 / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4304, allocations: 3.938 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.4304, allocations: 7.984 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4304, allocations: 0 / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.4308, allocations: 203.4 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.4308, allocations: 7.953 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.4308, allocations: 3.938 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4309, allocations: 15.92 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.431, allocations: 3.984 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.431, allocations: 4 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001023/0.4311, allocations: 108.8 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4311, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002983/0.4314, allocations: 27.92 kB / 1.332 GB, free: 12.26 MB / 1.029 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.0008955/0.4323, allocations: 0.7319 MB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4327, allocations: 111.7 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4327, allocations: 3.938 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.4329, allocations: 32.59 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.4333, allocations: 13.56 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.434, allocations: 203.4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.4344, allocations: 0.6885 MB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.217e-05/0.4345, allocations: 24.41 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.4345, allocations: 31.44 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4345, allocations: 0 / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.4585, allocations: 2.395 MB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.71, allocations: 6.719 kB / 1.336 GB, free: 8.09 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Bicubic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Bicubic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Bicubic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.779651969030965]