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.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.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.001092/0.001093, allocations: 99.19 kB / 16.02 MB, free: 76 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.001486/0.001486, allocations: 186.8 kB / 16.92 MB, free: 6.75 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.663/2.663, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 9.906 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005326/0.2949, allocations: 4.707 MB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006511/0.3015, allocations: 4.582 MB / 1.068 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.3022, allocations: 11.94 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.304, allocations: 0.5756 MB / 1.069 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001139/0.3051, allocations: 361.6 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3068, allocations: 0.6376 MB / 1.07 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.3088, allocations: 1.904 MB / 1.072 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006912/0.3095, allocations: 0.5269 MB / 1.072 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000638/0.3101, allocations: 0.5367 MB / 1.073 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007973/0.3109, allocations: 0.6727 MB / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.3111, allocations: 64 kB / 1.074 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006462/0.3117, allocations: 311.7 kB / 1.074 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.312, allocations: 266.8 kB / 1.074 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.3126, allocations: 0.6233 MB / 1.075 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.314, allocations: 1.586 MB / 1.076 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.314, allocations: 0 / 1.076 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.392e-06/0.314, allocations: 0 / 1.076 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.638e-05/0.314, allocations: 0 / 1.076 GB, free: 3.473 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.002992/0.317, allocations: 1.675 MB / 1.078 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.317, allocations: 11.97 kB / 1.078 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02793/0.345, allocations: 3.877 MB / 1.082 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/0.3732, allocations: 3.817 MB / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.3733, allocations: 54.38 kB / 1.085 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004544/0.3738, allocations: 76.38 kB / 1.086 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006457/0.3802, allocations: 2.037 MB / 1.088 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3803, allocations: 0 / 1.088 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.3805, allocations: 36 kB / 1.088 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.3805, allocations: 19.98 kB / 1.088 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006003/0.3865, allocations: 1.745 MB / 1.089 GB, free: 6 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.01009/0.3966, allocations: 7.365 MB / 1.096 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005998/0.4026, allocations: 1.822 MB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/0.4081, allocations: 1.51 MB / 1.1 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.4085, allocations: 400.9 kB / 1.1 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.4086, allocations: 43.06 kB / 1.1 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 2.916e-06/0.4086, allocations: 0 / 1.1 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.03804/0.4466, allocations: 8.83 MB / 1.109 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4467, allocations: 63.97 kB / 1.109 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.4485, allocations: 1.072 MB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003419/0.4488, allocations: 41.69 kB / 1.11 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005361/0.4494, allocations: 492.8 kB / 1.11 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/0.4497, allocations: 236.4 kB / 1.111 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.4501, allocations: 65.69 kB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.4502, allocations: 329.9 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/0.4603, allocations: 2.327 MB / 1.113 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.4706, allocations: 2.437 MB / 1.116 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/0.4859, allocations: 3.265 MB / 1.119 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.4859, allocations: 0 / 1.119 GB, free: 6.672 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02682/0.5127, allocations: 6.219 MB / 1.125 GB, free: 448 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.5128, allocations: 99.91 kB / 1.125 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02107/0.5339, allocations: 4.908 MB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09576/0.6297, allocations: 10.49 MB / 1.14 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/0.6339, allocations: 383.5 kB / 1.14 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007825/0.6417, allocations: 3.06 MB / 1.143 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/0.6469, allocations: 410.8 kB / 1.144 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/0.6472, allocations: 75.91 kB / 1.144 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.6473, allocations: 4 kB / 1.144 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02194/0.6692, allocations: 5.149 MB / 1.149 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01861/0.6878, allocations: 4.564 MB / 1.153 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.6903, allocations: 0.816 MB / 1.154 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/0.6952, allocations: 491.3 kB / 1.155 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009653/0.7049, allocations: 6.128 MB / 1.161 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005234/0.7101, allocations: 406.9 kB / 1.161 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/0.7105, allocations: 71.92 kB / 1.161 GB, free: 11.2 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.001008/0.7115, allocations: 473 kB / 1.162 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003792/0.7119, allocations: 114.6 kB / 1.162 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/0.7307, allocations: 4.787 MB / 1.166 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.7307, allocations: 8 kB / 1.166 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.7308, allocations: 0 / 1.166 GB, free: 5.809 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.7308, allocations: 3.984 kB / 1.166 GB, free: 5.805 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/0.7504, allocations: 6.556 MB / 1.173 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03799/0.7885, allocations: 5.151 MB / 1.178 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002058/0.7906, allocations: 199.7 kB / 1.178 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1125/0.903, allocations: 15.21 MB / 1.193 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002842/0.9034, allocations: 43.95 kB / 1.193 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007463/0.9108, allocations: 3.1 MB / 1.196 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.9109, allocations: 3.984 kB / 1.196 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03917/0.9501, allocations: 5.451 MB / 1.201 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.9512, allocations: 495.2 kB / 1.202 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003964/0.9516, allocations: 16 kB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/0.9548, allocations: 235.6 kB / 1.202 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.955, allocations: 44.59 kB / 1.202 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.9552, allocations: 43.95 kB / 1.202 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001163/0.9564, allocations: 0.7645 MB / 1.203 GB, free: 168 kB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9564, allocations: 0 / 1.203 GB, free: 168 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002307/0.9587, allocations: 0.7218 MB / 1.203 GB, free: 15.44 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.0004549/0.9591, allocations: 182.9 kB / 1.204 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02509/0.9842, allocations: 6.351 MB / 1.21 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9843, allocations: 4 kB / 1.21 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.006307/0.9906, allocations: 1.638 MB / 1.211 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.9923, allocations: 258.2 kB / 1.212 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/1.002, allocations: 3.822 MB / 1.215 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/1.002, allocations: 1.261 MB / 1.217 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/1.003, allocations: 131.3 kB / 1.217 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/1.003, allocations: 0 / 1.217 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of Templates: time 0.04289/1.046, allocations: 32.18 MB / 1.248 GB, free: 1.539 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/jenkins1/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