Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001468/0.001468, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001923/0.001923, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.052/3.052, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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_12_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_12_Buildings.HeatTransfer.Convection.Examples.Exterior") [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.002012/0.002012, allocations: 66.36 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.004096/0.3176, allocations: 2.54 MB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.3208, allocations: 1.729 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.321, allocations: 4 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.3211, allocations: 47.45 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005272/0.3216, allocations: 158.8 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008425/0.3225, allocations: 383.1 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.3232, allocations: 0.5137 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.3234, allocations: 101.6 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.3237, allocations: 239.2 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3239, allocations: 155.1 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.324, allocations: 28 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006688/0.3247, allocations: 435.5 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.3247, allocations: 71.77 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.3249, allocations: 155.2 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007512/0.3256, allocations: 0.5603 MB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3257, allocations: 4 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3257, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3257, allocations: 0 / 1.334 GB, free: 9.84 MB / 1.029 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.001043/0.3267, allocations: 0.6408 MB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3267, allocations: 12.03 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.3276, allocations: 124.5 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006009/0.3282, allocations: 261.2 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.3282, allocations: 21.03 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3283, allocations: 32.38 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.3291, allocations: 314.3 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3291, allocations: 4 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.3291, allocations: 15.98 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3291, allocations: 8 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008382/0.33, allocations: 286.3 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.3314, allocations: 0.7188 MB / 1.336 GB, free: 7.328 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.3323, allocations: 273.1 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.3327, allocations: 116.8 kB / 1.337 GB, free: 6.938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3328, allocations: 19.92 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3328, allocations: 30.56 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.3328, allocations: 4 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.001256/0.3341, allocations: 369.2 kB / 1.337 GB, free: 6.508 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3341, allocations: 55.52 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.3344, allocations: 257.8 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.3344, allocations: 29.7 kB / 1.338 GB, free: 6.148 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3346, allocations: 200.8 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.194e-05/0.3346, allocations: 91.2 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.3348, allocations: 61.95 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002028/0.335, allocations: 338.8 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.3353, allocations: 104.5 kB / 1.338 GB, free: 5.348 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.3357, allocations: 109 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.3364, allocations: 234.9 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3364, allocations: 0 / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009259/0.3373, allocations: 325.5 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3373, allocations: 7.938 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.3374, allocations: 4 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3374, allocations: 4 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.3378, allocations: 79.86 kB / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3378, allocations: 0 / 1.339 GB, free: 4.594 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.338, allocations: 35.77 kB / 1.339 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.3381, allocations: 19.98 kB / 1.339 GB, free: 4.539 MB / 1.029 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.0001515/0.3382, allocations: 141.8 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.3383, allocations: 31.81 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3393, allocations: 364.4 kB / 1.34 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3393, allocations: 4 kB / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3393, allocations: 0 / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3393, allocations: 0 / 1.34 GB, free: 3.977 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.3397, allocations: 257 kB / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3397, allocations: 0 / 1.34 GB, free: 3.695 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.34, allocations: 51.95 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.34, allocations: 4 kB / 1.34 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.34, allocations: 7.984 kB / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.34, allocations: 0 / 1.34 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.34, allocations: 4 kB / 1.34 GB, free: 3.629 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008256/0.3409, allocations: 286.5 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.341, allocations: 55.7 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.341, allocations: 4 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.3412, allocations: 19.97 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.3413, allocations: 19.92 kB / 1.34 GB, free: 3.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.3413, allocations: 7.984 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001885/0.3415, allocations: 187.1 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3415, allocations: 0 / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003995/0.3419, allocations: 115.7 kB / 1.341 GB, free: 2.93 MB / 1.029 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.0002412/0.3421, allocations: 151 kB / 1.341 GB, free: 2.773 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008234/0.343, allocations: 235.9 kB / 1.341 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.343, allocations: 4 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.3433, allocations: 107.9 kB / 1.341 GB, free: 2.434 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.3438, allocations: 84.91 kB / 1.341 GB, free: 2.355 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3452, allocations: 0.612 MB / 1.342 GB, free: 1.707 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3454, allocations: 172.8 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3455, allocations: 43.39 kB / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3455, allocations: 0 / 1.342 GB, free: 1.48 MB / 1.029 GB Notification: Performance of Templates: time 0.007846/0.3534, allocations: 4.792 MB / 1.347 GB, free: 12.69 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & ./Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.99332431401126]