Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.0007854/0.0007854, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.009135/0.009136, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.692/2.692, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 12.23 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7648/0.7652, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005282/0.7705, allocations: 4.705 MB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006778/0.7773, allocations: 4.581 MB / 1.032 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005513/0.7779, allocations: 11.94 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.7796, allocations: 0.5773 MB / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.7806, allocations: 365.6 kB / 1.033 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.7824, allocations: 0.6351 MB / 1.034 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.7846, allocations: 1.915 MB / 1.036 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007861/0.7854, allocations: 0.523 MB / 1.036 GB, free: 2.477 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.7862, allocations: 0.5367 MB / 1.037 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000845/0.787, allocations: 0.6649 MB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.7871, allocations: 64 kB / 1.037 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.788, allocations: 319.7 kB / 1.038 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.7882, allocations: 262.8 kB / 1.038 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006729/0.7889, allocations: 0.6272 MB / 1.038 GB, free: 0 / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.7908, allocations: 1.931 MB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.7908, allocations: 0 / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7908, allocations: 3.938 kB / 1.04 GB, free: 14.06 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.7908, allocations: 0 / 1.04 GB, free: 14.06 MB / 0.795 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.003159/0.794, allocations: 1.675 MB / 1.042 GB, free: 12.33 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.794, allocations: 8.031 kB / 1.042 GB, free: 12.32 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/0.8214, allocations: 3.873 MB / 1.046 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02819/0.8496, allocations: 3.809 MB / 1.049 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.8498, allocations: 58.38 kB / 1.05 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000739/0.8505, allocations: 76.38 kB / 1.05 GB, free: 4.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006505/0.857, allocations: 2.044 MB / 1.052 GB, free: 2.391 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.8571, allocations: 3.938 kB / 1.052 GB, free: 2.387 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.8572, allocations: 27.94 kB / 1.052 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.8573, allocations: 20 kB / 1.052 GB, free: 2.34 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005992/0.8633, allocations: 1.741 MB / 1.053 GB, free: 0.5977 MB / 0.795 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.01006/0.8733, allocations: 7.377 MB / 1.061 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005846/0.8792, allocations: 1.815 MB / 1.062 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005319/0.8845, allocations: 1.514 MB / 1.064 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.885, allocations: 396.9 kB / 1.064 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.885, allocations: 39.12 kB / 1.064 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/0.8851, allocations: 4 kB / 1.064 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.0373/0.9224, allocations: 8.826 MB / 1.073 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.9225, allocations: 59.97 kB / 1.073 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.9244, allocations: 1.064 MB / 1.074 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003568/0.9248, allocations: 41.7 kB / 1.074 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.9254, allocations: 0.489 MB / 1.074 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.9257, allocations: 240.5 kB / 1.075 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.9261, allocations: 57.69 kB / 1.075 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9262, allocations: 337.9 kB / 1.075 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009809/0.936, allocations: 2.323 MB / 1.077 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009745/0.9458, allocations: 2.441 MB / 1.08 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/0.9601, allocations: 3.261 MB / 1.083 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.9601, allocations: 0 / 1.083 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02642/0.9866, allocations: 6.212 MB / 1.089 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.9868, allocations: 95.91 kB / 1.089 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02035/1.007, allocations: 4.908 MB / 1.094 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09232/1.1, allocations: 10.49 MB / 1.104 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003958/1.104, allocations: 391.5 kB / 1.104 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008053/1.112, allocations: 3.056 MB / 1.107 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/1.117, allocations: 414.7 kB / 1.108 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/1.117, allocations: 71.92 kB / 1.108 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.117, allocations: 4 kB / 1.108 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02181/1.139, allocations: 5.164 MB / 1.113 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0183/1.158, allocations: 4.556 MB / 1.117 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002362/1.16, allocations: 0.8121 MB / 1.118 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/1.165, allocations: 495.3 kB / 1.119 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0096/1.174, allocations: 6.14 MB / 1.125 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005286/1.18, allocations: 402.9 kB / 1.125 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004044/1.18, allocations: 71.92 kB / 1.125 GB, free: 5.809 MB / 0.8731 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.001219/1.181, allocations: 482.9 kB / 1.126 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004115/1.182, allocations: 110.6 kB / 1.126 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01766/1.2, allocations: 4.772 MB / 1.13 GB, free: 440 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.2, allocations: 7.984 kB / 1.13 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.2, allocations: 7.938 kB / 1.13 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.2, allocations: 4 kB / 1.13 GB, free: 420 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/1.218, allocations: 6.556 MB / 1.137 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03689/1.255, allocations: 5.159 MB / 1.142 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/1.257, allocations: 195.8 kB / 1.142 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1113/1.369, allocations: 15.21 MB / 1.157 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003425/1.369, allocations: 47.95 kB / 1.157 GB, free: 4.984 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007856/1.377, allocations: 3.096 MB / 1.16 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.377, allocations: 0 / 1.16 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03876/1.416, allocations: 5.447 MB / 1.165 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.417, allocations: 499.2 kB / 1.166 GB, free: 11.88 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005189/1.418, allocations: 16 kB / 1.166 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003338/1.421, allocations: 235.6 kB / 1.166 GB, free: 11.63 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/1.421, allocations: 44.58 kB / 1.166 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/1.421, allocations: 47.95 kB / 1.166 GB, free: 11.54 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001367/1.423, allocations: 0.7645 MB / 1.167 GB, free: 10.76 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.41e-07/1.423, allocations: 0 / 1.167 GB, free: 10.76 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002748/1.426, allocations: 0.71 MB / 1.167 GB, free: 10.05 MB / 0.92 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.0005023/1.426, allocations: 195.7 kB / 1.168 GB, free: 9.848 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02408/1.45, allocations: 6.351 MB / 1.174 GB, free: 3.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/1.45, allocations: 4 kB / 1.174 GB, free: 3.477 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.006029/1.456, allocations: 1.626 MB / 1.175 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.458, allocations: 271.7 kB / 1.176 GB, free: 1.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/1.468, allocations: 3.845 MB / 1.179 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.469, allocations: 1.302 MB / 1.181 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003938/1.473, allocations: 0.8275 MB / 1.182 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/1.473, allocations: 119.3 kB / 1.182 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of SimCode: time 8.81e-07/1.473, allocations: 4 kB / 1.182 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of Templates: time 0.1089/1.582, allocations: 66.08 MB / 1.246 GB, free: 9.469 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches