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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.002099/0.002099, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.504/1.504, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.1 MB / 0.7171 GB, free: 4.066 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 83.86 kB / 1.027 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.8984, allocations: 151.6 MB / 1.175 GB, free: 17.46 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002834/0.9013, allocations: 1.498 MB / 1.176 GB, free: 16.41 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.9017, allocations: 121 kB / 1.176 GB, free: 16.33 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.9018, allocations: 0 / 1.176 GB, free: 16.33 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.9018, allocations: 4.641 kB / 1.176 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-05/0.9019, allocations: 8.156 kB / 1.176 GB, free: 16.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.9022, allocations: 33.62 kB / 1.176 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.9023, allocations: 47.56 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.9024, allocations: 9.969 kB / 1.176 GB, free: 16.28 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.9025, allocations: 21.69 kB / 1.176 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.9026, allocations: 20.31 kB / 1.176 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.9026, allocations: 3.844 kB / 1.176 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.9027, allocations: 40.98 kB / 1.176 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.9027, allocations: 10.14 kB / 1.176 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.9028, allocations: 26.77 kB / 1.176 GB, free: 16.22 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.903, allocations: 82.17 kB / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.903, allocations: 0 / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.903, allocations: 0 / 1.177 GB, free: 16.19 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.903, allocations: 0 / 1.177 GB, free: 16.19 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.0004668/0.9035, allocations: 384.7 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.9035, allocations: 9.781 kB / 1.177 GB, free: 15.8 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.711e-05/0.9035, allocations: 39.34 kB / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.9036, allocations: 7.969 kB / 1.177 GB, free: 15.76 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.472e-05/0.9037, allocations: 175.6 kB / 1.177 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.9037, allocations: 2.484 kB / 1.177 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.9037, allocations: 2.781 kB / 1.177 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.904, allocations: 119.3 kB / 1.177 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.904, allocations: 5.094 kB / 1.177 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.904, allocations: 0.7031 kB / 1.177 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.904, allocations: 10.05 kB / 1.177 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.9044, allocations: 127.5 kB / 1.177 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.9048, allocations: 341 kB / 1.178 GB, free: 15.15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.905, allocations: 60.58 kB / 1.178 GB, free: 15.11 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.9052, allocations: 41.53 kB / 1.178 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.9055, allocations: 123.6 kB / 1.178 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.9055, allocations: 30.56 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.9055, allocations: 3.938 kB / 1.178 GB, free: 14.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005826/0.9061, allocations: 140.7 kB / 1.178 GB, free: 14.9 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.9061, allocations: 61.2 kB / 1.178 GB, free: 14.83 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.9063, allocations: 147 kB / 1.178 GB, free: 14.72 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.9063, allocations: 25.7 kB / 1.178 GB, free: 14.69 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.9063, allocations: 120.9 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.9064, allocations: 11.55 kB / 1.178 GB, free: 14.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.9064, allocations: 28.84 kB / 1.178 GB, free: 14.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.9065, allocations: 319.9 kB / 1.179 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.9067, allocations: 49.45 kB / 1.179 GB, free: 14.21 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.9069, allocations: 109.7 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003881/0.9073, allocations: 175.8 kB / 1.179 GB, free: 13.99 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9073, allocations: 1.094 kB / 1.179 GB, free: 13.99 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004668/0.9078, allocations: 185 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.9078, allocations: 10.56 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9078, allocations: 2.906 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.9079, allocations: 7.344 kB / 1.179 GB, free: 13.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.9081, allocations: 41.56 kB / 1.179 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.9081, allocations: 3.5 kB / 1.179 GB, free: 13.9 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.9082, allocations: 23.89 kB / 1.179 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/0.9082, allocations: 11.5 kB / 1.179 GB, free: 13.89 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 8.322e-05/0.9083, allocations: 123.6 kB / 1.179 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.9084, allocations: 7.578 kB / 1.18 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.9088, allocations: 119.8 kB / 1.18 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.9088, allocations: 3.938 kB / 1.18 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9088, allocations: 1.906 kB / 1.18 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.9088, allocations: 0 / 1.18 GB, free: 13.69 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.909, allocations: 181.8 kB / 1.18 GB, free: 13.49 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.909, allocations: 4 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.9091, allocations: 20.42 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9091, allocations: 1.062 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.9091, allocations: 0.5625 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.9091, allocations: 4.844 kB / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9092, allocations: 0 / 1.18 GB, free: 13.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.9095, allocations: 202.4 kB / 1.18 GB, free: 13.33 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.9096, allocations: 83.05 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.9096, allocations: 1.938 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.9097, allocations: 15.06 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.9098, allocations: 3.547 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.9098, allocations: 2.969 kB / 1.18 GB, free: 13.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.9099, allocations: 113.8 kB / 1.18 GB, free: 13.14 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9099, allocations: 0 / 1.18 GB, free: 13.14 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002896/0.9102, allocations: 23.31 kB / 1.18 GB, free: 13.13 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.0006484/0.9108, allocations: 0.7368 MB / 1.181 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004195/0.9112, allocations: 102 kB / 1.181 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9113, allocations: 1.438 kB / 1.181 GB, free: 12.44 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.9114, allocations: 39.25 kB / 1.181 GB, free: 12.43 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.9118, allocations: 16.72 kB / 1.181 GB, free: 12.42 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000483/0.9123, allocations: 203 kB / 1.181 GB, free: 12.24 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.9124, allocations: 0.6986 MB / 1.182 GB, free: 11.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.212e-05/0.9125, allocations: 32.41 kB / 1.182 GB, free: 11.52 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.9125, allocations: 26.69 kB / 1.182 GB, free: 11.5 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.9125, allocations: 0 / 1.182 GB, free: 11.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.9383, allocations: 2.184 MB / 1.184 GB, free: 11.07 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.112/9.05, allocations: 3.875 kB / 1.184 GB, free: 11.07 MB / 0.92 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Bicubic.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Bicubic.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.966906607151031]