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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.048/2.048, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 187.7 kB / 487.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008847/0.0008847, allocations: 98.52 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.482e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7059/0.9109, allocations: 164.8 MB / 1.367 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.9112, allocations: 95.7 kB / 1.367 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07597/0.9871, allocations: 34.13 MB / 1.4 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9872, allocations: 0 / 1.4 GB, free: 24.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.531e-05/0.9873, allocations: 19.28 kB / 1.4 GB, free: 24.46 MB / 0.8386 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.002113/0.9894, allocations: 1.419 MB / 1.402 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.9894, allocations: 11.53 kB / 1.402 GB, free: 23.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02643/1.016, allocations: 4.442 MB / 1.406 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/1.019, allocations: 1.447 MB / 1.407 GB, free: 19.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/1.019, allocations: 28 kB / 1.407 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/1.019, allocations: 47.94 kB / 1.408 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001891/1.021, allocations: 1.79 MB / 1.409 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/1.023, allocations: 1.799 MB / 1.411 GB, free: 16.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/1.023, allocations: 4 kB / 1.411 GB, free: 16.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.023, allocations: 7.938 kB / 1.411 GB, free: 16.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/1.023, allocations: 16 kB / 1.411 GB, free: 16.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009173/1.032, allocations: 8.06 MB / 1.419 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/1.034, allocations: 1.706 MB / 1.421 GB, free: 8.781 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001511/1.036, allocations: 1.445 MB / 1.422 GB, free: 7.859 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/1.036, allocations: 51.08 kB / 1.422 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/1.036, allocations: 39.06 kB / 1.422 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 4.528e-06/1.036, allocations: 0 / 1.422 GB, free: 7.781 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.01093/1.047, allocations: 5.559 MB / 1.428 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/1.047, allocations: 55.97 kB / 1.428 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/1.048, allocations: 1.026 MB / 1.429 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/1.048, allocations: 25.7 kB / 1.429 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/1.049, allocations: 0.4892 MB / 1.429 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000257/1.049, allocations: 225.8 kB / 1.429 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/1.049, allocations: 0 / 1.429 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.049, allocations: 335.3 kB / 1.43 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/1.052, allocations: 2.068 MB / 1.432 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00236/1.054, allocations: 2.235 MB / 1.434 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.065, allocations: 4.483 MB / 1.438 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/1.065, allocations: 0 / 1.438 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01612/1.081, allocations: 8.204 MB / 1.446 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/1.081, allocations: 100.9 kB / 1.446 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01653/1.098, allocations: 7.247 MB / 1.453 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02606/1.124, allocations: 5.427 MB / 1.459 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00496/1.129, allocations: 0.8074 MB / 1.459 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009283/1.138, allocations: 5.241 MB / 1.465 GB, free: 2.973 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007156/1.146, allocations: 1.01 MB / 1.466 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/1.146, allocations: 63.92 kB / 1.466 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/1.146, allocations: 4.109 kB / 1.466 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01738/1.163, allocations: 7.519 MB / 1.473 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01595/1.179, allocations: 7.005 MB / 1.48 GB, free: 3.355 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003193/1.182, allocations: 1.008 MB / 1.481 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00661/1.189, allocations: 1.057 MB / 1.482 GB, free: 1.281 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/1.2, allocations: 6.996 MB / 1.489 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00722/1.207, allocations: 0.9903 MB / 1.49 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/1.207, allocations: 67.88 kB / 1.49 GB, free: 9.113 MB / 0.9011 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 () * 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.0005047/1.208, allocations: 101 kB / 1.49 GB, free: 9.008 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003576/1.208, allocations: 106.6 kB / 1.49 GB, free: 8.902 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009391/1.217, allocations: 4.747 MB / 1.495 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/1.217, allocations: 8 kB / 1.495 GB, free: 4.133 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/1.217, allocations: 0 / 1.495 GB, free: 4.133 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.217, allocations: 7.984 kB / 1.495 GB, free: 4.125 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/1.228, allocations: 6.87 MB / 1.501 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0403/1.268, allocations: 7.874 MB / 1.509 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00256/1.271, allocations: 419.4 kB / 1.509 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03945/1.31, allocations: 7.436 MB / 1.517 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/1.311, allocations: 31.94 kB / 1.517 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006674/1.317, allocations: 4.142 MB / 1.521 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.317, allocations: 0 / 1.521 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04175/1.359, allocations: 8.098 MB / 1.529 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/1.36, allocations: 0.5501 MB / 1.529 GB, free: 400 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003702/1.361, allocations: 0 / 1.529 GB, free: 400 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004457/1.365, allocations: 0.6201 MB / 1.53 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.365, allocations: 48.66 kB / 1.53 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.366, allocations: 39.95 kB / 1.53 GB, free: 15.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001124/1.367, allocations: 0.7894 MB / 1.531 GB, free: 14.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.01e-07/1.367, allocations: 0 / 1.531 GB, free: 14.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002388/1.369, allocations: 0.7605 MB / 1.531 GB, free: 14.12 MB / 0.948 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 () * 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.0006637/1.37, allocations: 342 kB / 1.532 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009343/1.379, allocations: 5.959 MB / 1.537 GB, free: 7.816 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.379, allocations: 0 / 1.537 GB, free: 7.816 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002658/1.382, allocations: 1.52 MB / 1.539 GB, free: 6.297 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.383, allocations: 213.5 kB / 1.539 GB, free: 6.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/1.387, allocations: 2.629 MB / 1.542 GB, free: 3.422 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/1.388, allocations: 1.331 MB / 1.543 GB, free: 2.059 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003734/1.392, allocations: 0.959 MB / 1.544 GB, free: 1.094 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/1.393, allocations: 95.33 kB / 1.544 GB, free: 1 MB / 0.948 GB Notification: Performance of SimCode: time 6.01e-07/1.393, allocations: 4 kB / 1.544 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of Templates: time 0.08304/1.476, allocations: 62.54 MB / 1.605 GB, free: 2.578 MB / 1.01 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","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches