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.0008949/0.000895, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.001071/0.001071, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.914/2.914, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 8.625 kB / 0.9021 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3711, allocations: 159.6 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass): time 0.005172/0.3763, allocations: 4.45 MB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3827, allocations: 4.275 MB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005875/0.3834, allocations: 15.94 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.385, allocations: 489.7 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3861, allocations: 357.6 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.3883, allocations: 0.5556 MB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.3904, allocations: 1.701 MB / 1.07 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006666/0.3911, allocations: 449.4 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007381/0.3919, allocations: 0.5213 MB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008211/0.3927, allocations: 0.6457 MB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3928, allocations: 64 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000782/0.3936, allocations: 307.7 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3939, allocations: 258.9 kB / 1.072 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.3941, allocations: 261 kB / 1.072 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.3957, allocations: 1.578 MB / 1.074 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3957, allocations: 0 / 1.074 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.617e-06/0.3957, allocations: 4 kB / 1.074 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.3958, allocations: 0 / 1.074 GB, free: 5.309 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.003283/0.399, allocations: 1.682 MB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3991, allocations: 8.031 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02172/0.4208, allocations: 3.876 MB / 1.079 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02228/0.4431, allocations: 3.777 MB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.4433, allocations: 61.95 kB / 1.083 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006653/0.444, allocations: 76 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/0.4501, allocations: 2.025 MB / 1.085 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4501, allocations: 4 kB / 1.085 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.4503, allocations: 32 kB / 1.085 GB, free: 9.637 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.4503, allocations: 16 kB / 1.085 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005205/0.4555, allocations: 1.737 MB / 1.087 GB, free: 7.887 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.01141/0.4669, allocations: 7.366 MB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005177/0.4721, allocations: 1.82 MB / 1.095 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004523/0.4767, allocations: 1.515 MB / 1.097 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.4772, allocations: 396.9 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.4773, allocations: 43.06 kB / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 3.637e-06/0.4773, allocations: 0 / 1.097 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.03356/0.5108, allocations: 8.929 MB / 1.106 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.511, allocations: 63.97 kB / 1.106 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002034/0.513, allocations: 1.06 MB / 1.107 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003425/0.5134, allocations: 37.7 kB / 1.107 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/0.5141, allocations: 0.489 MB / 1.108 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.5146, allocations: 240.4 kB / 1.108 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.5149, allocations: 12 kB / 1.108 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.515, allocations: 330 kB / 1.108 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008276/0.5233, allocations: 2.284 MB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008393/0.5317, allocations: 2.398 MB / 1.113 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008144/0.5399, allocations: 2.013 MB / 1.115 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.54, allocations: 4 kB / 1.115 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.02282/0.5628, allocations: 6.032 MB / 1.121 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/0.5629, allocations: 91.97 kB / 1.121 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01771/0.5806, allocations: 4.783 MB / 1.125 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07892/0.6596, allocations: 10.44 MB / 1.136 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003362/0.663, allocations: 383.5 kB / 1.136 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.6706, allocations: 3.06 MB / 1.139 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.6748, allocations: 410.8 kB / 1.139 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003445/0.6752, allocations: 75.91 kB / 1.139 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.6752, allocations: 4 kB / 1.139 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01994/0.6952, allocations: 5.149 MB / 1.145 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01719/0.7124, allocations: 4.552 MB / 1.149 GB, free: 6.812 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.7147, allocations: 0.816 MB / 1.15 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/0.7188, allocations: 491.3 kB / 1.15 GB, free: 5.512 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009966/0.7288, allocations: 6.124 MB / 1.156 GB, free: 15.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/0.7331, allocations: 406.9 kB / 1.157 GB, free: 14.85 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.7335, allocations: 71.92 kB / 1.157 GB, free: 14.78 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.001067/0.7345, allocations: 476.8 kB / 1.157 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000375/0.7349, allocations: 106.6 kB / 1.157 GB, free: 14.2 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/0.7507, allocations: 4.768 MB / 1.162 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/0.7508, allocations: 8 kB / 1.162 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.7508, allocations: 0 / 1.162 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7508, allocations: 4.203 kB / 1.162 GB, free: 9.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/0.7678, allocations: 6.556 MB / 1.168 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03098/0.7988, allocations: 5.155 MB / 1.173 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.8006, allocations: 199.7 kB / 1.174 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09519/0.8958, allocations: 15.19 MB / 1.188 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000461/0.8963, allocations: 47.94 kB / 1.188 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007677/0.904, allocations: 3.084 MB / 1.191 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.904, allocations: 4 kB / 1.191 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03164/0.9357, allocations: 5.443 MB / 1.197 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.9371, allocations: 495.2 kB / 1.197 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.9377, allocations: 12 kB / 1.197 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/0.9404, allocations: 239.6 kB / 1.197 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.9406, allocations: 40.59 kB / 1.197 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.9408, allocations: 47.95 kB / 1.198 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001497/0.9423, allocations: 0.7528 MB / 1.198 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9423, allocations: 8 kB / 1.198 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003203/0.9455, allocations: 0.7216 MB / 1.199 GB, free: 3.074 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005469/0.9461, allocations: 177 kB / 1.199 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.02171/0.9678, allocations: 6.309 MB / 1.205 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.9679, allocations: 0 / 1.205 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/0.9733, allocations: 1.626 MB / 1.207 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.9753, allocations: 269.4 kB / 1.207 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009298/0.9847, allocations: 3.747 MB / 1.211 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/0.9861, allocations: 1.306 MB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004254/0.9903, allocations: 0.8353 MB / 1.213 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007635/0.9911, allocations: 119.3 kB / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of SimCode: time 8.22e-07/0.9911, allocations: 0 / 1.213 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of Templates: time 0.8723/1.863, allocations: 65.16 MB / 1.277 GB, free: 177.7 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