Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008388/0.0008389, allocations: 92.78 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.001065/0.001065, allocations: 179.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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7233, allocations: 142.4 MB / 0.9557 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.004458/0.7278, allocations: 4.695 MB / 0.9603 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006613/0.7345, allocations: 4.586 MB / 0.9648 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009487/0.7355, allocations: 13.69 kB / 0.9648 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.7376, allocations: 0.5706 MB / 0.9653 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.7389, allocations: 372.1 kB / 0.9657 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.7412, allocations: 0.6378 MB / 0.9663 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002788/0.744, allocations: 1.912 MB / 0.9682 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009241/0.7449, allocations: 0.5232 MB / 0.9687 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.7462, allocations: 0.5364 MB / 0.9692 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.7474, allocations: 0.6672 MB / 0.9699 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000171/0.7476, allocations: 65.62 kB / 0.9699 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.7488, allocations: 318.3 kB / 0.9702 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.7491, allocations: 263.8 kB / 0.9705 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009258/0.75, allocations: 0.6248 MB / 0.9711 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.752, allocations: 1.59 MB / 0.9727 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.752, allocations: 3.938 kB / 0.9727 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/0.752, allocations: 0 / 0.9727 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.7521, allocations: 0 / 0.9727 GB, free: 11.13 MB / 0.7325 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.00392/0.756, allocations: 1.663 MB / 0.9743 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.756, allocations: 13.16 kB / 0.9743 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02882/0.7849, allocations: 3.882 MB / 0.9781 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/0.8139, allocations: 3.809 MB / 0.9818 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.563e-05/0.814, allocations: 58.38 kB / 0.9819 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006234/0.8146, allocations: 76.38 kB / 0.9819 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006897/0.8215, allocations: 2.04 MB / 0.9839 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.8216, allocations: 0 / 0.9839 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.8217, allocations: 24 kB / 0.9839 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.8218, allocations: 24 kB / 0.984 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006167/0.828, allocations: 1.745 MB / 0.9857 GB, free: 468 kB / 0.7325 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.01099/0.839, allocations: 7.373 MB / 0.9929 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006073/0.8451, allocations: 1.819 MB / 0.9947 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005514/0.8506, allocations: 1.51 MB / 0.9961 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/0.8511, allocations: 392.9 kB / 0.9965 GB, free: 4.465 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.8512, allocations: 35.12 kB / 0.9965 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 3.216e-06/0.8512, allocations: 8 kB / 0.9965 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.0387/0.8899, allocations: 8.842 MB / 1.005 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.89, allocations: 55.97 kB / 1.005 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.8917, allocations: 1.068 MB / 1.006 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000436/0.8922, allocations: 41.7 kB / 1.006 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/0.8927, allocations: 0.489 MB / 1.007 GB, free: 9.84 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.8931, allocations: 240.5 kB / 1.007 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.8934, allocations: 57.69 kB / 1.007 GB, free: 9.539 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8935, allocations: 341.8 kB / 1.007 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/0.9037, allocations: 2.323 MB / 1.01 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01029/0.914, allocations: 2.433 MB / 1.012 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/0.9292, allocations: 3.272 MB / 1.015 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.9293, allocations: 0 / 1.015 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02751/0.9568, allocations: 6.204 MB / 1.021 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.9569, allocations: 103.9 kB / 1.021 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02149/0.9784, allocations: 4.904 MB / 1.026 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09647/1.075, allocations: 10.49 MB / 1.036 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/1.079, allocations: 387.5 kB / 1.037 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008028/1.087, allocations: 3.056 MB / 1.04 GB, free: 7.914 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/1.093, allocations: 410.7 kB / 1.04 GB, free: 7.512 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/1.093, allocations: 71.92 kB / 1.04 GB, free: 7.441 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.093, allocations: 5.719 kB / 1.04 GB, free: 7.438 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02322/1.116, allocations: 5.164 MB / 1.045 GB, free: 2.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01989/1.136, allocations: 4.56 MB / 1.05 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/1.139, allocations: 0.8159 MB / 1.051 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005244/1.144, allocations: 487.3 kB / 1.051 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009813/1.154, allocations: 6.132 MB / 1.057 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005442/1.159, allocations: 402.9 kB / 1.057 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003887/1.16, allocations: 71.92 kB / 1.057 GB, free: 5.664 MB / 0.8106 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.0009983/1.161, allocations: 484.8 kB / 1.058 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/1.161, allocations: 110.6 kB / 1.058 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0186/1.18, allocations: 4.772 MB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.18, allocations: 8 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.18, allocations: 4 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.18, allocations: 7.984 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.2, allocations: 6.56 MB / 1.069 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03926/1.239, allocations: 5.159 MB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.241, allocations: 195.8 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1164/1.358, allocations: 15.21 MB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003681/1.358, allocations: 43.95 kB / 1.089 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008323/1.367, allocations: 3.096 MB / 1.092 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.367, allocations: 4 kB / 1.092 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04014/1.407, allocations: 5.443 MB / 1.098 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.408, allocations: 499.2 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005188/1.409, allocations: 23.98 kB / 1.098 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/1.412, allocations: 235.6 kB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.412, allocations: 40.59 kB / 1.098 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.412, allocations: 47.95 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001329/1.414, allocations: 0.7645 MB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.414, allocations: 0 / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002831/1.417, allocations: 0.7139 MB / 1.1 GB, free: 9.902 MB / 0.8575 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.0005556/1.417, allocations: 202.8 kB / 1.1 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02565/1.443, allocations: 6.339 MB / 1.106 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/1.443, allocations: 0 / 1.106 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.006617/1.449, allocations: 1.626 MB / 1.108 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/1.452, allocations: 258.5 kB / 1.108 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.462, allocations: 3.82 MB / 1.112 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.463, allocations: 1.265 MB / 1.113 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009231/1.464, allocations: 127.3 kB / 1.113 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of SimCode: time 4.9e-07/1.464, allocations: 0 / 1.113 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.04876/1.512, allocations: 32.18 MB / 1.145 GB, free: 12 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_CenterOfGlass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches