Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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.001721/0.00172, allocations: 115.5 kB / 17.08 MB, free: 5.82 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.001325/0.001325, allocations: 193.1 kB / 20.02 MB, free: 2.93 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.402/1.402, allocations: 222.9 MB / 245.7 MB, free: 4.332 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.905/2.905, allocations: 489.3 MB / 0.7687 GB, free: 3.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior") translateModel(Buildings.HeatTransfer.Convection.Examples.Exterior,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|nor.hF|wes.hF|sou.hF|eas.hF",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 63.89 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8616, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003602/0.8653, allocations: 2.715 MB / 1.265 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.868, allocations: 1.757 MB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.8682, allocations: 9 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.8684, allocations: 43.27 kB / 1.267 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.8688, allocations: 155.8 kB / 1.267 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.8698, allocations: 380 kB / 1.267 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006587/0.8705, allocations: 486.7 kB / 1.268 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.8708, allocations: 137.4 kB / 1.268 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.871, allocations: 178.6 kB / 1.268 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.8713, allocations: 181.5 kB / 1.268 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.269e-05/0.8713, allocations: 33.69 kB / 1.268 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008239/0.8722, allocations: 452.7 kB / 1.269 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.8722, allocations: 76.19 kB / 1.269 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.8724, allocations: 195.6 kB / 1.269 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.8732, allocations: 0.5401 MB / 1.27 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8732, allocations: 1 kB / 1.27 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8732, allocations: 4 kB / 1.27 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.8732, allocations: 0 / 1.27 GB, free: 3.586 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.0009482/0.8742, allocations: 0.7238 MB / 1.27 GB, free: 3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.8742, allocations: 9.344 kB / 1.27 GB, free: 3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.875, allocations: 115.6 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.8754, allocations: 313.1 kB / 1.271 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.8755, allocations: 21.19 kB / 1.271 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.8755, allocations: 33.98 kB / 1.271 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.8762, allocations: 318.1 kB / 1.271 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8762, allocations: 4 kB / 1.271 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.8763, allocations: 10.75 kB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.8763, allocations: 7.25 kB / 1.271 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/0.8772, allocations: 297.6 kB / 1.271 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.8787, allocations: 0.8968 MB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.8796, allocations: 293.8 kB / 1.273 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.88, allocations: 131.5 kB / 1.273 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000128/0.8801, allocations: 94.77 kB / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.8802, allocations: 32.66 kB / 1.273 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.8802, allocations: 4 kB / 1.273 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.00131/0.8815, allocations: 391.4 kB / 1.273 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.452e-05/0.8815, allocations: 55.62 kB / 1.273 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.8818, allocations: 344.3 kB / 1.274 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.8819, allocations: 30.55 kB / 1.274 GB, free: 1.207 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.882, allocations: 190.1 kB / 1.274 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.882, allocations: 91.12 kB / 1.274 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.9e-05/0.8821, allocations: 59.84 kB / 1.274 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.8822, allocations: 345.8 kB / 1.274 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.8825, allocations: 107.6 kB / 1.274 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.8829, allocations: 107.8 kB / 1.275 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006725/0.8836, allocations: 229.7 kB / 1.275 GB, free: 476 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8836, allocations: 1.188 kB / 1.275 GB, free: 476 kB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008866/0.8845, allocations: 331.7 kB / 1.275 GB, free: 348 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8845, allocations: 4.719 kB / 1.275 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8845, allocations: 0 / 1.275 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8845, allocations: 6.25 kB / 1.275 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.8849, allocations: 76.48 kB / 1.275 GB, free: 336 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.8849, allocations: 5.922 kB / 1.275 GB, free: 332 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.8853, allocations: 43.69 kB / 1.275 GB, free: 308 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.8853, allocations: 19.75 kB / 1.275 GB, free: 300 kB / 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.0001076/0.8854, allocations: 142.8 kB / 1.275 GB, free: 160 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.8855, allocations: 34.83 kB / 1.275 GB, free: 144 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.8865, allocations: 370.9 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8865, allocations: 1.656 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8866, allocations: 1.125 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8866, allocations: 5.156 kB / 1.276 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.887, allocations: 355.2 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.887, allocations: 2.234 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.8873, allocations: 53.36 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.8873, allocations: 1.25 kB / 1.276 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.8874, allocations: 9.234 kB / 1.276 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.8874, allocations: 1.125 kB / 1.276 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.8874, allocations: 4.594 kB / 1.276 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008314/0.8882, allocations: 303.7 kB / 1.276 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.8884, allocations: 146.1 kB / 1.277 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.8885, allocations: 1.875 kB / 1.277 GB, free: 15.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.8887, allocations: 23.19 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.8888, allocations: 10.05 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.8888, allocations: 12.2 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002756/0.8891, allocations: 255.1 kB / 1.277 GB, free: 15.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8891, allocations: 0 / 1.277 GB, free: 15.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003896/0.8895, allocations: 102.7 kB / 1.277 GB, free: 15.23 MB / 1.014 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.0002185/0.8897, allocations: 139.2 kB / 1.277 GB, free: 15.13 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000809/0.8905, allocations: 243.7 kB / 1.277 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8905, allocations: 0 / 1.277 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/0.8909, allocations: 110 kB / 1.277 GB, free: 15.05 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.8915, allocations: 122.1 kB / 1.278 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.8929, allocations: 0.6152 MB / 1.278 GB, free: 14.63 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.8933, allocations: 0.7741 MB / 1.279 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.8934, allocations: 45.45 kB / 1.279 GB, free: 13.93 MB / 1.014 GB Notification: Performance of SimCode: time 2.2e-07/0.8934, allocations: 0 / 1.279 GB, free: 13.93 MB / 1.014 GB Notification: Performance of Templates: time 0.009216/0.9027, allocations: 5.108 MB / 1.284 GB, free: 13.39 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.35732298111543]