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.0008066/0.0008066, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009095/0.0009095, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9136/0.9136, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Bicubic,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Bicubic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.16e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.00192/0.001942, allocations: 1.499 MB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002755/0.002217, allocations: 119.6 kB / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.002247, allocations: 0 / 0.9521 GB, free: 1.871 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.121e-05/0.002288, allocations: 3.938 kB / 0.9521 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.002344, allocations: 11.92 kB / 0.9521 GB, free: 1.855 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.002561, allocations: 27.91 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.852e-05/0.00264, allocations: 47.84 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.823e-05/0.002728, allocations: 4 kB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.002789, allocations: 31.89 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.002827, allocations: 15.98 kB / 0.9522 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.002843, allocations: 4 kB / 0.9522 GB, free: 1.727 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.002913, allocations: 35.97 kB / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.677e-05/0.00295, allocations: 15.92 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.00297, allocations: 11.98 kB / 0.9523 GB, free: 1.664 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.003109, allocations: 83.7 kB / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003111, allocations: 0 / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003112, allocations: 0 / 0.9524 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003116, allocations: 0 / 0.9524 GB, free: 1.582 MB / 0.9011 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.0003917/0.003508, allocations: 318 kB / 0.9527 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.003546, allocations: 11.97 kB / 0.9527 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.003715, allocations: 42.67 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.003738, allocations: 4.891 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/0.003814, allocations: 113.7 kB / 0.9528 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.003829, allocations: 12.36 kB / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.003838, allocations: 384 / 0.9528 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.004059, allocations: 109 kB / 0.9529 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004068, allocations: 4.172 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.004078, allocations: 8.375 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.004102, allocations: 12.12 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.004296, allocations: 127.8 kB / 0.9531 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.004651, allocations: 299.8 kB / 0.9534 GB, free: 440 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.004778, allocations: 54.53 kB / 0.9534 GB, free: 376 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.004857, allocations: 36.92 kB / 0.9535 GB, free: 336 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001876/0.005044, allocations: 51.95 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.005064, allocations: 38.5 kB / 0.9536 GB, free: 236 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.005065, allocations: 0 / 0.9536 GB, free: 236 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0003221/0.005387, allocations: 129.5 kB / 0.9537 GB, free: 100 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.005417, allocations: 59.39 kB / 0.9537 GB, free: 28 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.005531, allocations: 157.7 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.00554, allocations: 25.7 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.005595, allocations: 119.8 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.537e-06/0.005604, allocations: 11.95 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.005643, allocations: 33.66 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.005716, allocations: 314.8 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.005808, allocations: 47.94 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.00593, allocations: 127.2 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.00613, allocations: 169.4 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006132, allocations: 0 / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002396/0.006372, allocations: 181.4 kB / 0.9549 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.006386, allocations: 6.5 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.006392, allocations: 4 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.006404, allocations: 4 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/0.006501, allocations: 35.91 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.006507, allocations: 4 kB / 0.9549 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.00657, allocations: 31.81 kB / 0.9549 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.006584, allocations: 12.22 kB / 0.955 GB, free: 14.66 MB / 0.9167 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 6.659e-05/0.006651, allocations: 125.8 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.006667, allocations: 11.88 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.006894, allocations: 118 kB / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006896, allocations: 0 / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.0069, allocations: 0 / 0.9552 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006904, allocations: 7.875 kB / 0.9552 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.007023, allocations: 148.6 kB / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.007025, allocations: 0 / 0.9554 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.007071, allocations: 15.98 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.007073, allocations: 0 / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.007079, allocations: 0 / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.007081, allocations: 4 kB / 0.9554 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007082, allocations: 4 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.007282, allocations: 203.3 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.00729, allocations: 3.953 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007302, allocations: 4 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.369e-05/0.007355, allocations: 7.984 kB / 0.9556 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.007393, allocations: 7.984 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.007398, allocations: 3.938 kB / 0.9556 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.007444, allocations: 115.2 kB / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007444, allocations: 0 / 0.9557 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001865/0.00763, allocations: 20 kB / 0.9557 GB, free: 13.8 MB / 0.9167 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.0004373/0.008067, allocations: 0.728 MB / 0.9564 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.008289, allocations: 103.8 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008291, allocations: 3.938 kB / 0.9565 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.688e-05/0.008368, allocations: 35.91 kB / 0.9566 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.00861, allocations: 16.55 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.009036, allocations: 199.5 kB / 0.9568 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.513e-05/0.009091, allocations: 75.7 kB / 0.9569 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.009e-05/0.009151, allocations: 28.45 kB / 0.9569 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.0092, allocations: 28.48 kB / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.009201, allocations: 0 / 0.9569 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01859/0.02779, allocations: 2.879 MB / 0.9597 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.912/6.94, allocations: 0 / 0.9597 GB, free: 9.77 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.9327661274001]