Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TGla.T|TRoo.T|con.u|heaFloSen.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 110.8 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 195.8 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.454/2.454, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 68.86 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.262, allocations: 151.6 MB / 1.019 GB, free: 9.824 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002812/0.2648, allocations: 1.851 MB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.2659, allocations: 0.7284 MB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.266, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.2661, allocations: 23.8 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002096/0.2663, allocations: 47.62 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.2665, allocations: 71.84 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.2667, allocations: 135.3 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2669, allocations: 37.39 kB / 1.022 GB, free: 6.906 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.378e-05/0.2669, allocations: 39.86 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.2671, allocations: 55.77 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.2671, allocations: 8 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.552e-05/0.2672, allocations: 19.98 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.2672, allocations: 19.92 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.446e-05/0.2672, allocations: 43.8 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.2674, allocations: 111.6 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2674, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2674, allocations: 0 / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2674, allocations: 4 kB / 1.022 GB, free: 6.609 MB / 0.795 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.0005269/0.268, allocations: 411 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.268, allocations: 12.86 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.268, allocations: 12.84 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.2683, allocations: 200 kB / 1.023 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.2683, allocations: 4.375 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.2683, allocations: 12.31 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2685, allocations: 97.95 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2685, allocations: 0 / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.2686, allocations: 4 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2686, allocations: 4 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.2688, allocations: 59.89 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.2692, allocations: 380.5 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.2695, allocations: 58.61 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.741e-05/0.2696, allocations: 20.84 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.2696, allocations: 4 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2696, allocations: 30.56 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2696, allocations: 0 / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003444/0.27, allocations: 105.4 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.27, allocations: 55.41 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2701, allocations: 157.2 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.2702, allocations: 25.7 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.2702, allocations: 108 kB / 1.024 GB, free: 4.684 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.2702, allocations: 7.891 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.2703, allocations: 21.62 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.2704, allocations: 326.8 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.2705, allocations: 24.84 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.2706, allocations: 15.98 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2707, allocations: 48.81 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2707, allocations: 4 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002083/0.2709, allocations: 85.5 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.271, allocations: 11.94 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.271, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.271, allocations: 0 / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.2711, allocations: 11.98 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2711, allocations: 4 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.2712, allocations: 7.984 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.2712, allocations: 8 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001166/0.2713, allocations: 108.1 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.794e-05/0.2714, allocations: 31.95 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001453/0.2715, allocations: 44.77 kB / 1.024 GB, free: 3.902 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.2716, allocations: 4 kB / 1.024 GB, free: 3.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0001944/0.2717, allocations: 81.56 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.2718, allocations: 10.5 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.2718, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.798e-06/0.2718, allocations: 3.938 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.2719, allocations: 12.45 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-06/0.2719, allocations: 0 / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.2719, allocations: 15.86 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-06/0.2719, allocations: 0 / 1.024 GB, free: 3.773 MB / 0.795 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 7.664e-05/0.272, allocations: 181.4 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.2721, allocations: 15.84 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.2723, allocations: 89.81 kB / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2723, allocations: 0 / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2723, allocations: 0 / 1.025 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2723, allocations: 4 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.2725, allocations: 185.6 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2725, allocations: 0 / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.2726, allocations: 7.984 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2726, allocations: 11.94 kB / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2726, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2726, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2726, allocations: 0 / 1.025 GB, free: 3.227 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.2728, allocations: 179.3 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.2729, allocations: 85.09 kB / 1.025 GB, free: 2.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2729, allocations: 7.844 kB / 1.025 GB, free: 2.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.227e-05/0.273, allocations: 8 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.2731, allocations: 3.984 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2731, allocations: 4 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.161e-05/0.2732, allocations: 121.5 kB / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2732, allocations: 0 / 1.025 GB, free: 2.793 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003158/0.2735, allocations: 35.94 kB / 1.025 GB, free: 2.758 MB / 0.795 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.0001315/0.2736, allocations: 103.2 kB / 1.025 GB, free: 2.645 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.2739, allocations: 79.81 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2739, allocations: 0 / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.274, allocations: 23.97 kB / 1.026 GB, free: 2.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2743, allocations: 25.3 kB / 1.026 GB, free: 2.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.2747, allocations: 209.3 kB / 1.026 GB, free: 2.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.2749, allocations: 0.7002 MB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.95e-05/0.275, allocations: 8.422 kB / 1.026 GB, free: 1.555 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.275, allocations: 15.44 kB / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.275, allocations: 0 / 1.026 GB, free: 1.539 MB / 0.795 GB Notification: Performance of Templates: time 0.003674/0.2787, allocations: 1.334 MB / 1.028 GB, free: 228 kB / 0.795 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches