Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TAirRoo.T|sha.glass.1..port_a.T|sha.glass.1..port_b.T|sha.glass.2..port_a.T|sha.glass.2..port_b.T|nonSha.glass.1..port_a.T|nonSha.glass.1..port_b.T|nonSha.glass.2..port_a.T|nonSha.glass.2..port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006753/0.006753, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.833/2.833, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003788, allocations: 12.22 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3673, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005409/0.3728, allocations: 4.707 MB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006784/0.3796, allocations: 4.588 MB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.3802, allocations: 15.94 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.3818, allocations: 0.5756 MB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009509/0.3827, allocations: 361.6 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.3845, allocations: 0.6383 MB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.3867, allocations: 1.9 MB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009425/0.3876, allocations: 0.5229 MB / 1.072 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.389, allocations: 0.5444 MB / 1.072 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.3902, allocations: 0.6649 MB / 1.073 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3904, allocations: 64 kB / 1.073 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.3915, allocations: 319.7 kB / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.3918, allocations: 254.9 kB / 1.073 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009439/0.3927, allocations: 0.6233 MB / 1.074 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.3954, allocations: 1.939 MB / 1.076 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3954, allocations: 0 / 1.076 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3954, allocations: 4 kB / 1.076 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.963e-05/0.3954, allocations: 0 / 1.076 GB, free: 3.668 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.003209/0.3987, allocations: 1.663 MB / 1.078 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3987, allocations: 8.031 kB / 1.078 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0282/0.4269, allocations: 3.881 MB / 1.081 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02913/0.4561, allocations: 3.813 MB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.4562, allocations: 58.38 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006063/0.4568, allocations: 76.38 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006645/0.4635, allocations: 2.044 MB / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.4635, allocations: 0 / 1.087 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.4637, allocations: 32 kB / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/0.4637, allocations: 19.98 kB / 1.087 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/0.4698, allocations: 1.733 MB / 1.089 GB, free: 6.211 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.4804, allocations: 7.374 MB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/0.4865, allocations: 1.819 MB / 1.098 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005449/0.492, allocations: 1.514 MB / 1.099 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/0.4925, allocations: 396.9 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.4925, allocations: 39.12 kB / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 3.877e-06/0.4926, allocations: 0 / 1.1 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.03744/0.53, allocations: 8.838 MB / 1.108 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.5301, allocations: 59.97 kB / 1.109 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.5317, allocations: 1.068 MB / 1.11 GB, free: 128 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003431/0.532, allocations: 41.7 kB / 1.11 GB, free: 80 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/0.5325, allocations: 488.8 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.5328, allocations: 240.4 kB / 1.11 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.5331, allocations: 61.69 kB / 1.11 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5333, allocations: 333.9 kB / 1.111 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01008/0.5433, allocations: 2.327 MB / 1.113 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01033/0.5537, allocations: 2.433 MB / 1.115 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01481/0.5685, allocations: 3.264 MB / 1.119 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.5686, allocations: 0 / 1.119 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02589/0.5945, allocations: 6.216 MB / 1.125 GB, free: 0.6523 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.5946, allocations: 99.84 kB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02033/0.615, allocations: 4.912 MB / 1.129 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09299/0.708, allocations: 10.49 MB / 1.14 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/0.7121, allocations: 395.5 kB / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008355/0.7205, allocations: 3.052 MB / 1.143 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005484/0.7261, allocations: 414.8 kB / 1.143 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004723/0.7266, allocations: 83.88 kB / 1.144 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7266, allocations: 4 kB / 1.144 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02258/0.7492, allocations: 5.149 MB / 1.149 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02032/0.7696, allocations: 4.564 MB / 1.153 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.7721, allocations: 0.816 MB / 1.154 GB, free: 2.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005032/0.7772, allocations: 487.3 kB / 1.154 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.7873, allocations: 6.128 MB / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005219/0.7926, allocations: 406.9 kB / 1.161 GB, free: 11.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.793, allocations: 67.92 kB / 1.161 GB, free: 11.41 MB / 0.92 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.7943, allocations: 480.8 kB / 1.161 GB, free: 10.93 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.7947, allocations: 110.6 kB / 1.161 GB, free: 10.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/0.8134, allocations: 4.784 MB / 1.166 GB, free: 6.027 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.8135, allocations: 8 kB / 1.166 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.8135, allocations: 0 / 1.166 GB, free: 6.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.8135, allocations: 3.984 kB / 1.166 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/0.8341, allocations: 6.564 MB / 1.172 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03925/0.8734, allocations: 5.159 MB / 1.177 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/0.8754, allocations: 199.6 kB / 1.178 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1141/0.9895, allocations: 15.21 MB / 1.192 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003188/0.9899, allocations: 43.95 kB / 1.193 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008241/0.9981, allocations: 3.092 MB / 1.196 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9982, allocations: 4 kB / 1.196 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04087/1.039, allocations: 5.443 MB / 1.201 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.04, allocations: 499.2 kB / 1.201 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004707/1.041, allocations: 12 kB / 1.201 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003372/1.044, allocations: 239.6 kB / 1.202 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/1.045, allocations: 48.53 kB / 1.202 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/1.045, allocations: 47.95 kB / 1.202 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001293/1.046, allocations: 0.7684 MB / 1.202 GB, free: 364 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.046, allocations: 0 / 1.202 GB, free: 364 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002698/1.049, allocations: 0.714 MB / 1.203 GB, free: 15.64 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,51)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/1.049, allocations: 190.9 kB / 1.203 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02631/1.076, allocations: 6.351 MB / 1.209 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.076, allocations: 4 kB / 1.209 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.006696/1.082, allocations: 1.626 MB / 1.211 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/1.084, allocations: 258.2 kB / 1.211 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009686/1.094, allocations: 3.856 MB / 1.215 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.095, allocations: 1.298 MB / 1.216 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004239/1.099, allocations: 0.8391 MB / 1.217 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/1.1, allocations: 119.3 kB / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of SimCode: time 7.31e-07/1.1, allocations: 0 / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of Templates: time 0.6898/1.79, allocations: 66.08 MB / 1.282 GB, free: 174.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches