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.001769/0.001769, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002356/0.002356, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.538/1.538, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.047/3.047, allocations: 0.49 GB / 0.7923 GB, free: 1.344 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.002252/0.002252, allocations: 67.88 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237/1.24, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Bicubic): time 0.002913/1.243, allocations: 1.499 MB / 1.323 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003732/1.243, allocations: 121.9 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/1.243, allocations: 0 / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.265e-05/1.243, allocations: 6.469 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.195e-05/1.243, allocations: 10.03 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/1.243, allocations: 34.8 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.578e-05/1.243, allocations: 39.44 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/1.244, allocations: 13.09 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.79e-05/1.244, allocations: 20.84 kB / 1.323 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.121e-05/1.244, allocations: 20.53 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/1.244, allocations: 5.469 kB / 1.323 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/1.244, allocations: 36.72 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.334e-05/1.244, allocations: 17.78 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/1.244, allocations: 20.78 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/1.244, allocations: 80.39 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.244, allocations: 2.812 kB / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.244, allocations: 0 / 1.323 GB, free: 23.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.244, allocations: 3.938 kB / 1.323 GB, free: 23.46 MB / 1.061 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.0005551/1.245, allocations: 382.8 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.245, allocations: 14.08 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.666e-05/1.245, allocations: 192 / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/1.245, allocations: 37.27 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/1.245, allocations: 7.516 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/1.245, allocations: 186 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.245, allocations: 3.062 kB / 1.324 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/1.245, allocations: 6.938 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/1.245, allocations: 113 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.245, allocations: 2.953 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.245, allocations: 0 / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/1.245, allocations: 8.969 kB / 1.324 GB, free: 22.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000343/1.246, allocations: 128 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/1.246, allocations: 343.1 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/1.246, allocations: 53.8 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/1.246, allocations: 38.94 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/1.247, allocations: 119.5 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/1.247, allocations: 41.28 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/1.247, allocations: 0 / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005746/1.247, allocations: 136.3 kB / 1.325 GB, free: 22.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.247, allocations: 51.41 kB / 1.325 GB, free: 22.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/1.247, allocations: 155.4 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/1.247, allocations: 28.55 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/1.247, allocations: 122.2 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/1.247, allocations: 10.67 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/1.247, allocations: 36.72 kB / 1.325 GB, free: 21.81 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/1.248, allocations: 314.8 kB / 1.326 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/1.248, allocations: 48.05 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/1.248, allocations: 122.7 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/1.248, allocations: 163.7 kB / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.248, allocations: 0 / 1.326 GB, free: 21.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004018/1.249, allocations: 186.9 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.249, allocations: 5.656 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.249, allocations: 2.844 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.249, allocations: 6.656 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.249, allocations: 33.91 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.249, allocations: 10.17 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/1.249, allocations: 30.72 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.249, allocations: 5.75 kB / 1.326 GB, free: 21.16 MB / 1.061 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.837e-05/1.249, allocations: 123.5 kB / 1.326 GB, free: 21.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/1.249, allocations: 6.922 kB / 1.326 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/1.249, allocations: 129.4 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.249, allocations: 3.234 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/1.249, allocations: 6.766 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/1.249, allocations: 3.984 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/1.25, allocations: 173.8 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.25, allocations: 0 / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/1.25, allocations: 17.73 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.25, allocations: 4 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.25, allocations: 6.594 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.25, allocations: 3.984 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.25, allocations: 0 / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/1.25, allocations: 205.6 kB / 1.327 GB, free: 20.6 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/1.25, allocations: 83.59 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/1.25, allocations: 6.594 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/1.25, allocations: 12.52 kB / 1.327 GB, free: 20.5 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/1.25, allocations: 6.875 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/1.25, allocations: 6.781 kB / 1.327 GB, free: 20.49 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.581e-05/1.25, allocations: 106.7 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.25, allocations: 0 / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002625/1.251, allocations: 16.88 kB / 1.327 GB, free: 20.41 MB / 1.061 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.0005809/1.251, allocations: 0.732 MB / 1.328 GB, free: 19.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003854/1.252, allocations: 114.9 kB / 1.328 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.252, allocations: 0 / 1.328 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/1.252, allocations: 37.09 kB / 1.328 GB, free: 19.7 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/1.252, allocations: 9.625 kB / 1.328 GB, free: 19.69 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/1.253, allocations: 218.5 kB / 1.328 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/1.253, allocations: 0.6951 MB / 1.329 GB, free: 18.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.149e-05/1.253, allocations: 24.11 kB / 1.329 GB, free: 18.8 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/1.253, allocations: 27.17 kB / 1.329 GB, free: 18.78 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.253, allocations: 1 kB / 1.329 GB, free: 18.78 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.273, allocations: 2.228 MB / 1.331 GB, free: 18.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.608, allocations: 13.23 kB / 1.331 GB, free: 18.32 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.4850260700332]