Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001952/0.001953, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.455/1.455, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 69.86 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3306, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002968/0.3337, allocations: 1.918 MB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3348, allocations: 0.7296 MB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.3349, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.487e-05/0.335, allocations: 11.92 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002125/0.3352, allocations: 43.69 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.3354, allocations: 59.86 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.3356, allocations: 131.4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3357, allocations: 25.41 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.3358, allocations: 51.77 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3359, allocations: 39.84 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.336, allocations: 11.94 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.336, allocations: 12 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.336, allocations: 19.91 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.3361, allocations: 47.8 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3363, allocations: 111.9 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3363, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3363, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3363, allocations: 0 / 1.055 GB, free: 5.652 MB / 0.8106 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.0005244/0.3368, allocations: 415.1 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3369, allocations: 8.031 kB / 1.056 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.3369, allocations: 8.844 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.3371, allocations: 200.1 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.3371, allocations: 12.36 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3371, allocations: 8.375 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3374, allocations: 93.91 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3374, allocations: 3.984 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3374, allocations: 7.938 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3374, allocations: 0 / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.3376, allocations: 67.94 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.3381, allocations: 372.5 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3383, allocations: 54.48 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.822e-05/0.3384, allocations: 28.91 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3385, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3385, allocations: 38.55 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.3385, allocations: 0 / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0003402/0.3388, allocations: 97.42 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3389, allocations: 51.41 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.339, allocations: 161.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.339, allocations: 25.7 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3391, allocations: 108 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.3391, allocations: 7.906 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.3392, allocations: 17.62 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.3393, allocations: 322.8 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.373e-05/0.3394, allocations: 24.84 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.3394, allocations: 23.97 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.3396, allocations: 44.83 kB / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3396, allocations: 0 / 1.057 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002057/0.3398, allocations: 89.5 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3398, allocations: 13.33 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3399, allocations: 8 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3399, allocations: 4 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.34, allocations: 8 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.34, allocations: 3.984 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.668e-05/0.34, allocations: 4 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3401, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001277/0.3402, allocations: 113.6 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.837e-05/0.3403, allocations: 15.98 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001423/0.3404, allocations: 53.22 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.21e-07/0.3404, allocations: 0 / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.0001989/0.3406, allocations: 85.5 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.941e-06/0.3406, allocations: 7.938 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-06/0.3406, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-06/0.3406, allocations: 7.938 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.3407, allocations: 12 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.3407, allocations: 7.984 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3408, allocations: 7.938 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.3408, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 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 6.878e-05/0.3409, allocations: 176.3 kB / 1.058 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3409, allocations: 15.78 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.3411, allocations: 89.83 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3412, allocations: 4 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3412, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3412, allocations: 0 / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3414, allocations: 185.6 kB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3414, allocations: 0 / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.3414, allocations: 11.98 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3415, allocations: 3.938 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3415, allocations: 0 / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3415, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3415, allocations: 0 / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3417, allocations: 175.3 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.3418, allocations: 89.09 kB / 1.058 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3418, allocations: 11.78 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.3419, allocations: 7.984 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.342, allocations: 0 / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.342, allocations: 0 / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.342, allocations: 123.2 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3421, allocations: 0 / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000298/0.3424, allocations: 35.94 kB / 1.059 GB, free: 1.809 MB / 0.8106 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.0001465/0.3425, allocations: 99.25 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3428, allocations: 67.92 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.3428, allocations: 8 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-05/0.3429, allocations: 23.92 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.3433, allocations: 26.38 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.3437, allocations: 243 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.344, allocations: 0.6971 MB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.027e-05/0.344, allocations: 16.83 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.344, allocations: 15.38 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.344, allocations: 0 / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of Templates: time 0.003847/0.3479, allocations: 1.235 MB / 1.061 GB, free: 15.36 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches