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.001437/0.001437, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00159/0.00159, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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 2.886/2.886, allocations: 0.49 GB / 0.7958 GB, free: 33.34 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.00192/0.00192, allocations: 69.53 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2914, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.003909/0.2953, allocations: 2.733 MB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0029/0.2982, allocations: 1.885 MB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.2983, allocations: 4 kB / 1.332 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.2984, allocations: 47.45 kB / 1.332 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.2989, allocations: 166.7 kB / 1.332 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.2996, allocations: 387 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.3002, allocations: 0.5022 MB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.3004, allocations: 105.6 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.3007, allocations: 199.2 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.3009, allocations: 183.2 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.3009, allocations: 28 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006748/0.3016, allocations: 483.4 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.3017, allocations: 71.7 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3019, allocations: 191.1 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006483/0.3025, allocations: 0.5602 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3025, allocations: 4 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3025, allocations: 0 / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.3025, allocations: 0 / 1.334 GB, free: 9.926 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.001063/0.3036, allocations: 0.6564 MB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.3036, allocations: 8.031 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009761/0.3046, allocations: 132.5 kB / 1.335 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/0.305, allocations: 241.4 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.305, allocations: 36.97 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.3051, allocations: 32.31 kB / 1.336 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006652/0.3057, allocations: 314.3 kB / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.3057, allocations: 0 / 1.336 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3058, allocations: 16 kB / 1.336 GB, free: 8.445 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3058, allocations: 8 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007599/0.3065, allocations: 282.4 kB / 1.336 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.3081, allocations: 0.8663 MB / 1.337 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.3089, allocations: 275.2 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.3092, allocations: 116.8 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3094, allocations: 16.38 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.3094, allocations: 30.56 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of pre-optimization done (n=25): time 3.065e-06/0.3094, allocations: 3.984 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of matching and sorting (n=25): time 0.00119/0.3106, allocations: 395.1 kB / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3106, allocations: 55.41 kB / 1.338 GB, free: 6.336 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.311, allocations: 341.8 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.311, allocations: 29.64 kB / 1.338 GB, free: 5.957 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.3111, allocations: 196.7 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.3112, allocations: 87.22 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.3113, allocations: 61.95 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3115, allocations: 350.8 kB / 1.339 GB, free: 5.254 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.3118, allocations: 96.48 kB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3121, allocations: 105 kB / 1.339 GB, free: 5.059 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.3128, allocations: 242.9 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3128, allocations: 0 / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000868/0.3136, allocations: 337.4 kB / 1.34 GB, free: 4.484 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3136, allocations: 8 kB / 1.34 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.3136, allocations: 0 / 1.34 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3137, allocations: 0 / 1.34 GB, free: 4.477 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.314, allocations: 79.88 kB / 1.34 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.314, allocations: 7.938 kB / 1.34 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.3143, allocations: 43.7 kB / 1.34 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3143, allocations: 11.98 kB / 1.34 GB, free: 4.336 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.0001434/0.3145, allocations: 141.8 kB / 1.34 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3146, allocations: 39.77 kB / 1.34 GB, free: 4.148 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.3155, allocations: 369.3 kB / 1.34 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3155, allocations: 4 kB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3155, allocations: 0 / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3155, allocations: 0 / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.3159, allocations: 332.3 kB / 1.341 GB, free: 3.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3159, allocations: 4 kB / 1.341 GB, free: 3.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.3162, allocations: 51.89 kB / 1.341 GB, free: 3.344 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3162, allocations: 4 kB / 1.341 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3162, allocations: 11.98 kB / 1.341 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3162, allocations: 0 / 1.341 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3162, allocations: 0 / 1.341 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.317, allocations: 294.3 kB / 1.341 GB, free: 3.023 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3171, allocations: 55.7 kB / 1.341 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.427e-05/0.3171, allocations: 8 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.3174, allocations: 27.91 kB / 1.341 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3174, allocations: 11.97 kB / 1.341 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.3174, allocations: 11.94 kB / 1.341 GB, free: 2.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002504/0.3177, allocations: 263 kB / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3177, allocations: 0 / 1.341 GB, free: 2.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003498/0.318, allocations: 107.8 kB / 1.341 GB, free: 2.551 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.0002113/0.3182, allocations: 147.1 kB / 1.342 GB, free: 2.398 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007147/0.319, allocations: 232 kB / 1.342 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.319, allocations: 4 kB / 1.342 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003238/0.3193, allocations: 105.7 kB / 1.342 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.3198, allocations: 116.2 kB / 1.342 GB, free: 1.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3211, allocations: 0.6198 MB / 1.343 GB, free: 1.309 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3214, allocations: 0.7795 MB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.3216, allocations: 47.41 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3216, allocations: 0 / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of Templates: time 0.007719/0.3293, allocations: 5.233 MB / 1.348 GB, free: 11.23 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.333680609997828]