Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.001502/0.001502, 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.001663/0.001663, allocations: 213.4 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.955/2.955, allocations: 0.49 GB / 0.7958 GB, free: 33.24 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.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") [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.001852/0.001852, allocations: 62.89 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2816, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003016/0.2846, allocations: 1.9 MB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.2859, allocations: 0.808 MB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.969e-05/0.286, allocations: 4 kB / 1.33 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.887e-05/0.286, allocations: 11.86 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.2863, allocations: 55.56 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.2864, allocations: 75.84 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.2867, allocations: 135.3 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2868, allocations: 38.38 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.2869, allocations: 47.84 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.287, allocations: 59.77 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.2871, allocations: 8 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.2871, allocations: 23.98 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.2871, allocations: 15.94 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.2872, allocations: 51.73 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.2874, allocations: 119.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.2874, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2874, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.2874, allocations: 4 kB / 1.33 GB, free: 14.1 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005252/0.2879, allocations: 341.8 kB / 1.331 GB, free: 13.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.288, allocations: 12.03 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.2881, allocations: 12.89 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2883, allocations: 142.3 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.2883, allocations: 4.375 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.2883, allocations: 8.375 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2885, allocations: 97.86 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2885, allocations: 0 / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2886, allocations: 8 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.2886, allocations: 4 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.2888, allocations: 59.89 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.2892, allocations: 343.6 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.2895, allocations: 54.55 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.574e-05/0.2895, allocations: 24.91 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.2896, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.2896, allocations: 30.56 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2896, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0003474/0.2899, allocations: 109.5 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.29, allocations: 51.41 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2901, allocations: 157.3 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2901, allocations: 25.7 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.2902, allocations: 112 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2902, allocations: 11.94 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.2902, allocations: 13.72 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2904, allocations: 318.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.2905, allocations: 28.84 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.576e-05/0.2905, allocations: 23.92 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.2907, allocations: 52.75 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2907, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002143/0.2909, allocations: 89.61 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2909, allocations: 7.938 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2909, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.291, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.291, allocations: 11.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.291, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.025e-05/0.2911, allocations: 15.88 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2911, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001207/0.2912, allocations: 104.1 kB / 1.333 GB, free: 11.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.777e-05/0.2913, allocations: 23.97 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001467/0.2914, allocations: 48.77 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.2914, allocations: 0 / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0001905/0.2916, allocations: 81.61 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-06/0.2916, allocations: 4 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.2916, allocations: 0 / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.457e-06/0.2917, allocations: 7.938 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.2917, allocations: 15.98 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-06/0.2917, allocations: 0 / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.2918, allocations: 7.984 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.2918, allocations: 4.469 kB / 1.333 GB, free: 11.48 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 (4): * Single equations (assignments): 4 * 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 9.595e-05/0.2919, allocations: 176.8 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2919, allocations: 11.89 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.2921, allocations: 97.91 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2921, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2921, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2922, allocations: 4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.2923, allocations: 160.7 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.2923, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.2924, allocations: 11.98 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.2924, allocations: 3.938 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2924, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2924, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2924, allocations: 7.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.2927, allocations: 175.3 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.2927, allocations: 15.95 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2927, allocations: 7.922 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.2928, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.2928, allocations: 7.984 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.2928, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.669e-05/0.2929, allocations: 121.1 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2929, allocations: 0 / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002903/0.2932, allocations: 39.89 kB / 1.334 GB, free: 10.57 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 (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.0001275/0.2933, allocations: 99.25 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.2936, allocations: 71.88 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2936, allocations: 4 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/0.2937, allocations: 19.97 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.294, allocations: 21.86 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.2945, allocations: 247.4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000362/0.2948, allocations: 0.7 MB / 1.335 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.2949, allocations: 11.44 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.2949, allocations: 0 / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of Templates: time 0.003278/0.2981, allocations: 1.338 MB / 1.336 GB, free: 8.004 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.04764948398224]