Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.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.001486/0.001486, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001693/0.001693, allocations: 215 kB / 20.13 MB, free: 2.949 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.562/1.562, 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 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.969/2.969, allocations: 476.7 MB / 0.7678 GB, free: 9.516 MB / 0.6075 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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior",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.002232/0.002232, allocations: 67.91 kB / 1.113 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.005415/1.11, allocations: 2.74 MB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004019/1.114, allocations: 1.865 MB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/1.115, allocations: 5.5 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/1.115, allocations: 50.86 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006132/1.115, allocations: 157.8 kB / 1.284 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/1.116, allocations: 390.1 kB / 1.284 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008044/1.117, allocations: 0.4939 MB / 1.284 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/1.118, allocations: 105.7 kB / 1.285 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/1.118, allocations: 192.5 kB / 1.285 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/1.118, allocations: 190 kB / 1.285 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/1.118, allocations: 30 kB / 1.285 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008411/1.119, allocations: 480.5 kB / 1.285 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/1.119, allocations: 76.12 kB / 1.285 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/1.119, allocations: 191 kB / 1.286 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000871/1.12, allocations: 0.5527 MB / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.12, allocations: 0 / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.12, allocations: 1.125 kB / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.497e-05/1.12, allocations: 0 / 1.286 GB, free: 7.234 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00127/1.121, allocations: 0.7314 MB / 1.287 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.121, allocations: 10.25 kB / 1.287 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.09e-05/1.122, allocations: 7.406 kB / 1.287 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.409e-05/1.122, allocations: 69.45 kB / 1.287 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.123, allocations: 132.4 kB / 1.287 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/1.123, allocations: 311.9 kB / 1.287 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/1.123, allocations: 28.81 kB / 1.287 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/1.123, allocations: 29.25 kB / 1.287 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/1.124, allocations: 319.3 kB / 1.288 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/1.124, allocations: 3.984 kB / 1.288 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/1.124, allocations: 14.28 kB / 1.288 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/1.124, allocations: 7.906 kB / 1.288 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/1.125, allocations: 284 kB / 1.288 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/1.127, allocations: 0.901 MB / 1.289 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009921/1.128, allocations: 279.6 kB / 1.289 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/1.128, allocations: 117.8 kB / 1.289 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/1.128, allocations: 85.8 kB / 1.289 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.128, allocations: 41.77 kB / 1.289 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/1.128, allocations: 0 / 1.289 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001466/1.13, allocations: 394.1 kB / 1.29 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/1.13, allocations: 58.45 kB / 1.29 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/1.13, allocations: 335.8 kB / 1.29 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/1.13, allocations: 35.05 kB / 1.29 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/1.13, allocations: 193.7 kB / 1.29 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-05/1.131, allocations: 84.08 kB / 1.291 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/1.131, allocations: 63.94 kB / 1.291 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002757/1.131, allocations: 345.6 kB / 1.291 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000388/1.131, allocations: 103.6 kB / 1.291 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/1.132, allocations: 106.7 kB / 1.291 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007602/1.132, allocations: 226.9 kB / 1.291 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.132, allocations: 3.938 kB / 1.291 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001032/1.134, allocations: 342.9 kB / 1.292 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.134, allocations: 6.516 kB / 1.292 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.134, allocations: 0 / 1.292 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.134, allocations: 5.406 kB / 1.292 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/1.134, allocations: 90.33 kB / 1.292 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.134, allocations: 1.5 kB / 1.292 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/1.134, allocations: 49.08 kB / 1.292 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/1.134, allocations: 11.23 kB / 1.292 GB, free: 3.871 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 33 * 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.0001732/1.135, allocations: 146.5 kB / 1.292 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.135, allocations: 37.14 kB / 1.292 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/1.136, allocations: 362.3 kB / 1.292 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.136, allocations: 1.719 kB / 1.292 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.136, allocations: 2.125 kB / 1.292 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.136, allocations: 4.688 kB / 1.292 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/1.136, allocations: 351.3 kB / 1.293 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.136, allocations: 4 kB / 1.293 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/1.137, allocations: 58.7 kB / 1.293 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.137, allocations: 1.094 kB / 1.293 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/1.137, allocations: 5.359 kB / 1.293 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.137, allocations: 0.9375 kB / 1.293 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.137, allocations: 4.688 kB / 1.293 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009144/1.137, allocations: 301 kB / 1.293 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/1.138, allocations: 134 kB / 1.293 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/1.138, allocations: 9.031 kB / 1.293 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002623/1.138, allocations: 20.27 kB / 1.293 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/1.138, allocations: 13.73 kB / 1.293 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.138, allocations: 8.703 kB / 1.293 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003257/1.138, allocations: 251.3 kB / 1.293 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.138, allocations: 3.938 kB / 1.293 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004607/1.139, allocations: 110.4 kB / 1.294 GB, free: 2.82 MB / 0.9981 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 (21): * Single equations (assignments): 21 * 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.001434/1.14, allocations: 0.8765 MB / 1.294 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008801/1.141, allocations: 235.6 kB / 1.295 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.141, allocations: 0 / 1.295 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/1.142, allocations: 111.8 kB / 1.295 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/1.142, allocations: 115.6 kB / 1.295 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/1.148, allocations: 3.052 MB / 1.298 GB, free: 224 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/1.148, allocations: 0.7796 MB / 1.299 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003153/1.149, allocations: 78.09 kB / 1.299 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/1.149, allocations: 112.2 kB / 1.299 GB, free: 15.41 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.149, allocations: 1.312 kB / 1.299 GB, free: 15.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/1.18, allocations: 8.814 MB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/10.34, allocations: 12.2 kB / 1.307 GB, free: 14.21 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Convection.Examples.Exterior.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: 17.229394213994965]