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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.000958/0.000958, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.859/2.859, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003951, allocations: 13.03 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3421, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection): time 0.002682/0.3448, allocations: 1.564 MB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3465, allocations: 0.709 MB / 1.062 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.3466, allocations: 4 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.549e-05/0.3467, allocations: 11.92 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.3471, allocations: 39.69 kB / 1.062 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3474, allocations: 67.86 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.3478, allocations: 123.4 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.348, allocations: 33.38 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.3481, allocations: 39.86 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.3483, allocations: 43.78 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3483, allocations: 7.984 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.679e-05/0.3484, allocations: 12 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.3484, allocations: 15.92 kB / 1.062 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.3485, allocations: 73.44 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3487, allocations: 76.06 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3487, allocations: 0 / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3487, allocations: 3.938 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3487, allocations: 4 kB / 1.062 GB, free: 2.102 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.0006444/0.3494, allocations: 403.2 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3494, allocations: 11.97 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/0.3495, allocations: 16.75 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.3497, allocations: 188.2 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.3498, allocations: 8.375 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.3498, allocations: 8.375 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.3501, allocations: 105.9 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3501, allocations: 0 / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3501, allocations: 4 kB / 1.063 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3501, allocations: 7.984 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.3504, allocations: 79.88 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005963/0.351, allocations: 372.3 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.3512, allocations: 62.61 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3514, allocations: 32.77 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3514, allocations: 4 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.3514, allocations: 34.5 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.3514, allocations: 4 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004618/0.3519, allocations: 109.6 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3519, allocations: 51.41 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.3521, allocations: 155.9 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3521, allocations: 29.7 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/0.3522, allocations: 111.9 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.3522, allocations: 7.906 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.3523, allocations: 9.719 kB / 1.064 GB, free: 116 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3524, allocations: 322.8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.3525, allocations: 27.98 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.74e-05/0.3527, allocations: 31.91 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.3528, allocations: 56.83 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3529, allocations: 0 / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002636/0.3531, allocations: 93.56 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.3532, allocations: 96.92 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3532, allocations: 4 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3532, allocations: 0 / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.3533, allocations: 12 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.3533, allocations: 3.984 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.3534, allocations: 8 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3534, allocations: 4 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.3535, allocations: 9.5 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002104/0.3537, allocations: 59.95 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.3537, allocations: 0 / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-06/0.3537, allocations: 384 / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.3538, allocations: 19.98 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.3538, allocations: 3.938 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.3539, allocations: 23.83 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.3539, allocations: 0 / 1.065 GB, free: 15.33 MB / 0.8262 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.000115/0.354, allocations: 189.1 kB / 1.065 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.354, allocations: 11.84 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.3543, allocations: 105.8 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3543, allocations: 3.938 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3544, allocations: 0 / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3544, allocations: 4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/0.3546, allocations: 185.6 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3546, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.3547, allocations: 8 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3547, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3547, allocations: 11.92 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3547, allocations: 3.938 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3547, allocations: 4 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.355, allocations: 183.4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/0.3551, allocations: 93 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.3551, allocations: 0 / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.3552, allocations: 11.94 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.3553, allocations: 3.984 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3553, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3554, allocations: 122.1 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of sort global known variables: time 6.81e-07/0.3554, allocations: 0 / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003205/0.3557, allocations: 39.84 kB / 1.065 GB, free: 14.27 MB / 0.8262 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.0001966/0.3559, allocations: 103.2 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003516/0.3563, allocations: 91.88 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3563, allocations: 0 / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.3564, allocations: 27.97 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3569, allocations: 23.98 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005177/0.3574, allocations: 282.6 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.3577, allocations: 0.7043 MB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3578, allocations: 11.44 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.3578, allocations: 0 / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.003602/0.3614, allocations: 1.315 MB / 1.068 GB, free: 11.67 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/jenkins1/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