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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0017/0.0017, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002454/0.002454, allocations: 193.3 kB / 16.25 MB, free: 6.641 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 482.3 MB / 0.7543 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.00191, allocations: 67.05 kB / 0.9233 GB, free: 29.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.003533/0.3388, allocations: 1.906 MB / 1.084 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3401, allocations: 0.709 MB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.3402, allocations: 4 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.458e-05/0.3404, allocations: 7.922 kB / 1.084 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.3406, allocations: 51.69 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3408, allocations: 59.88 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.3411, allocations: 127.4 kB / 1.085 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3413, allocations: 45.36 kB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.3414, allocations: 47.83 kB / 1.085 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.3415, allocations: 51.78 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.3415, allocations: 8 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.311e-05/0.3416, allocations: 20 kB / 1.085 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.3416, allocations: 15.92 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.3417, allocations: 63.66 kB / 1.085 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.3419, allocations: 107.9 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.936e-06/0.3419, allocations: 7.938 kB / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.713e-06/0.342, allocations: 0 / 1.085 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.342, allocations: 0 / 1.085 GB, free: 10.37 MB / 0.8419 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.0006791/0.3427, allocations: 407.1 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3427, allocations: 12.03 kB / 1.085 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.3428, allocations: 12.75 kB / 1.085 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.343, allocations: 190.5 kB / 1.085 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.343, allocations: 8.359 kB / 1.085 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.343, allocations: 8.375 kB / 1.085 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3433, allocations: 97.91 kB / 1.086 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.3433, allocations: 0 / 1.086 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3433, allocations: 4 kB / 1.086 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.3433, allocations: 4 kB / 1.086 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.3436, allocations: 71.84 kB / 1.086 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.3441, allocations: 372.4 kB / 1.086 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.3444, allocations: 50.55 kB / 1.086 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/0.3445, allocations: 28.91 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3445, allocations: 3.938 kB / 1.086 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3446, allocations: 38.48 kB / 1.086 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.3446, allocations: 0 / 1.086 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.00039/0.345, allocations: 105.6 kB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.345, allocations: 51.41 kB / 1.086 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3452, allocations: 152.1 kB / 1.086 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.3452, allocations: 25.7 kB / 1.086 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.3453, allocations: 111.9 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.3453, allocations: 7.906 kB / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.3453, allocations: 17.72 kB / 1.087 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3455, allocations: 322.8 kB / 1.087 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.865e-05/0.3456, allocations: 24.84 kB / 1.087 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.918e-05/0.3457, allocations: 27.91 kB / 1.087 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.3459, allocations: 44.83 kB / 1.087 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3459, allocations: 0 / 1.087 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002187/0.3461, allocations: 85.56 kB / 1.087 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3461, allocations: 11.92 kB / 1.087 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.3461, allocations: 4 kB / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3461, allocations: 0 / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.3462, allocations: 8 kB / 1.087 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3462, allocations: 4 kB / 1.087 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.3463, allocations: 7.984 kB / 1.087 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3463, allocations: 3.938 kB / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001356/0.3465, allocations: 116 kB / 1.087 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.268e-05/0.3466, allocations: 19.98 kB / 1.087 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001499/0.3467, allocations: 48.81 kB / 1.087 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.3467, allocations: 0 / 1.087 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization_lambda0): time 0.000211/0.3469, allocations: 81.56 kB / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.347, allocations: 9.562 kB / 1.087 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.347, allocations: 0 / 1.087 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/0.347, allocations: 3.938 kB / 1.087 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.3471, allocations: 8 kB / 1.087 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.3471, allocations: 7.922 kB / 1.087 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.3471, allocations: 11.84 kB / 1.087 GB, free: 7.547 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.3471, allocations: 4.469 kB / 1.087 GB, free: 7.543 MB / 0.8419 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 0.0001075/0.3473, allocations: 176.3 kB / 1.088 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3473, allocations: 19.84 kB / 1.088 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.3476, allocations: 89.81 kB / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3476, allocations: 0 / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3476, allocations: 0 / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3476, allocations: 0 / 1.088 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.3478, allocations: 185.6 kB / 1.088 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3478, allocations: 0 / 1.088 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.3479, allocations: 15.98 kB / 1.088 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3479, allocations: 7.938 kB / 1.088 GB, free: 6.988 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3479, allocations: 3.938 kB / 1.088 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3479, allocations: 0 / 1.088 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3479, allocations: 0 / 1.088 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.3482, allocations: 171.4 kB / 1.088 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.3483, allocations: 85 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.3483, allocations: 7.938 kB / 1.088 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.3484, allocations: 7.984 kB / 1.088 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.3485, allocations: 8 kB / 1.088 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3485, allocations: 0 / 1.088 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.873e-05/0.3486, allocations: 122.1 kB / 1.088 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3486, allocations: 0 / 1.088 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003021/0.3489, allocations: 39.84 kB / 1.088 GB, free: 6.52 MB / 0.8419 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.0001784/0.3491, allocations: 103.2 kB / 1.088 GB, free: 6.41 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003175/0.3494, allocations: 79.86 kB / 1.088 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3494, allocations: 0 / 1.088 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.3495, allocations: 19.98 kB / 1.088 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.3499, allocations: 34.48 kB / 1.089 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.3503, allocations: 245.4 kB / 1.089 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3507, allocations: 0.7 MB / 1.089 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.475e-05/0.3508, allocations: 12.41 kB / 1.089 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.3508, allocations: 15.44 kB / 1.089 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.3508, allocations: 0 / 1.089 GB, free: 5.262 MB / 0.8419 GB Notification: Performance of Templates: time 0.004221/0.355, allocations: 1.276 MB / 1.091 GB, free: 4.008 MB / 0.8419 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=400 -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