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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001523/0.001523, allocations: 102.2 kB / 16.27 MB, free: 6 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.001524/0.001524, allocations: 191 kB / 17.2 MB, free: 5.609 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437.1 MB / 0.7111 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 68.17 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2787, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003166/0.2819, allocations: 1.85 MB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.2832, allocations: 0.7283 MB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.067e-05/0.2832, allocations: 0 / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.2833, allocations: 19.8 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.2835, allocations: 44.25 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.2838, allocations: 79.83 kB / 1.021 GB, free: 7.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.284, allocations: 123.4 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2841, allocations: 41.38 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.2842, allocations: 39.86 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.2844, allocations: 51.72 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.2844, allocations: 8 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.14e-05/0.2845, allocations: 23.98 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.2845, allocations: 23.91 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.2846, allocations: 47.73 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2847, allocations: 111.9 kB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2847, allocations: 0 / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2847, allocations: 0 / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2848, allocations: 0 / 1.021 GB, free: 7.438 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.0005905/0.2853, allocations: 411.1 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.2854, allocations: 8.922 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.2854, allocations: 20.83 kB / 1.022 GB, free: 6.961 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.2857, allocations: 200 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.2857, allocations: 4.375 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.2857, allocations: 8.375 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.286, allocations: 96.3 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.286, allocations: 0 / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.286, allocations: 4 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.286, allocations: 8 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.2862, allocations: 59.95 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.2868, allocations: 376.5 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.287, allocations: 62.42 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2871, allocations: 28.91 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2872, allocations: 0 / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.2872, allocations: 30.56 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.2872, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003734/0.2876, allocations: 97.47 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.2876, allocations: 67.34 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.2878, allocations: 156.7 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.2878, allocations: 25.7 kB / 1.023 GB, free: 5.609 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.2879, allocations: 108 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.2879, allocations: 7.891 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.288, allocations: 21.62 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.2881, allocations: 322.8 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.2882, allocations: 28.84 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.2883, allocations: 15.98 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.2885, allocations: 48.81 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2885, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002334/0.2888, allocations: 81.89 kB / 1.023 GB, free: 4.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.2888, allocations: 19.88 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2888, allocations: 0 / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.2888, allocations: 0 / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.2889, allocations: 11.98 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2889, allocations: 0 / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.129e-05/0.289, allocations: 7.984 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.289, allocations: 7.984 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001456/0.2891, allocations: 104.1 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.557e-05/0.2892, allocations: 31.95 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001579/0.2894, allocations: 40.83 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.2894, allocations: 4 kB / 1.024 GB, free: 4.727 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0002295/0.2896, allocations: 81.5 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.2897, allocations: 8 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/0.2897, allocations: 0 / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/0.2897, allocations: 3.938 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.579e-05/0.2898, allocations: 15.98 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-06/0.2898, allocations: 0 / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.2898, allocations: 11.92 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.2899, allocations: 3.938 kB / 1.024 GB, free: 4.598 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 9.903e-05/0.29, allocations: 184.3 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.29, allocations: 11.84 kB / 1.024 GB, free: 4.398 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.2903, allocations: 89.83 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2903, allocations: 0 / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2903, allocations: 4 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2903, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.2905, allocations: 185.6 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2905, allocations: 0 / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.489e-05/0.2906, allocations: 11.98 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2906, allocations: 3.938 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.2906, allocations: 4 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2906, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2906, allocations: 7.938 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.2909, allocations: 175.3 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.291, allocations: 85.09 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.291, allocations: 7.844 kB / 1.024 GB, free: 3.746 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.2911, allocations: 4 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.2911, allocations: 7.984 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.2911, allocations: 4 kB / 1.024 GB, free: 3.73 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2912, allocations: 123.2 kB / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2913, allocations: 0 / 1.024 GB, free: 3.609 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003043/0.2916, allocations: 31.94 kB / 1.025 GB, free: 3.578 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.0001445/0.2917, allocations: 103.2 kB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000335/0.2921, allocations: 76.25 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2921, allocations: 0 / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-05/0.2922, allocations: 23.92 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.2925, allocations: 21.86 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.293, allocations: 243.2 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2933, allocations: 0.6963 MB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.783e-05/0.2934, allocations: 15.44 kB / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.2934, allocations: 0 / 1.026 GB, free: 2.344 MB / 0.795 GB Notification: Performance of Templates: time 0.003177/0.2965, allocations: 1.328 MB / 1.027 GB, free: 1.035 MB / 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=400 -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