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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.323/2.323, allocations: 390.5 MB / 398 MB, free: 10.93 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.001128/0.001128, allocations: 176.9 kB / 491.2 MB, free: 1.562 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.793/1.793, allocations: 221.5 MB / 0.7868 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009267, allocations: 83.91 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.069e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3523, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.447, allocations: 165.5 MB / 1.374 GB, free: 17.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.448, allocations: 101.6 kB / 1.374 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08521/1.533, allocations: 34.14 MB / 1.407 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.475e-06/1.533, allocations: 0 / 1.407 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001258/1.533, allocations: 23.94 kB / 1.407 GB, free: 18.96 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.003293/1.536, allocations: 1.431 MB / 1.409 GB, free: 17.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.537, allocations: 12.03 kB / 1.409 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02972/1.566, allocations: 4.432 MB / 1.413 GB, free: 13.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/1.57, allocations: 1.448 MB / 1.415 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/1.57, allocations: 20 kB / 1.415 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006513/1.571, allocations: 48 kB / 1.415 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003051/1.574, allocations: 1.785 MB / 1.416 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003395/1.577, allocations: 1.803 MB / 1.418 GB, free: 9.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.577, allocations: 3.953 kB / 1.418 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/1.578, allocations: 4 kB / 1.418 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/1.578, allocations: 16 kB / 1.418 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/1.591, allocations: 8.062 MB / 1.426 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002457/1.594, allocations: 1.717 MB / 1.428 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/1.596, allocations: 1.436 MB / 1.429 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/1.596, allocations: 55.83 kB / 1.429 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/1.596, allocations: 41.92 kB / 1.429 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=70): time 3.877e-06/1.596, allocations: 0 / 1.429 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=70): time 0.0128/1.609, allocations: 5.558 MB / 1.435 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.609, allocations: 59.97 kB / 1.435 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/1.611, allocations: 1.02 MB / 1.436 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003816/1.612, allocations: 29.7 kB / 1.436 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/1.612, allocations: 491 kB / 1.436 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003774/1.613, allocations: 227.8 kB / 1.436 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/1.613, allocations: 0 / 1.436 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.613, allocations: 332.5 kB / 1.437 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/1.616, allocations: 2.083 MB / 1.439 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/1.619, allocations: 2.227 MB / 1.441 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/1.631, allocations: 4.484 MB / 1.445 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/1.632, allocations: 0 / 1.445 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.01947/1.651, allocations: 8.197 MB / 1.453 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/1.651, allocations: 107.9 kB / 1.453 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01908/1.67, allocations: 7.247 MB / 1.461 GB, free: 7.316 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02884/1.699, allocations: 5.435 MB / 1.466 GB, free: 1.871 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005557/1.705, allocations: 0.7997 MB / 1.467 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.717, allocations: 5.249 MB / 1.472 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008109/1.725, allocations: 0.998 MB / 1.473 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006594/1.725, allocations: 67.91 kB / 1.473 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/1.726, allocations: 4 kB / 1.473 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02219/1.748, allocations: 7.512 MB / 1.48 GB, free: 3.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01865/1.766, allocations: 7.005 MB / 1.487 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.77, allocations: 1.012 MB / 1.488 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007277/1.777, allocations: 1.053 MB / 1.489 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/1.791, allocations: 6.994 MB / 1.496 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00785/1.799, allocations: 0.9981 MB / 1.497 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005095/1.799, allocations: 59.92 kB / 1.497 GB, free: 1.953 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.0007038/1.8, allocations: 112.9 kB / 1.497 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.8, allocations: 106.7 kB / 1.497 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.811, allocations: 4.747 MB / 1.502 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/1.811, allocations: 8 kB / 1.502 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.811, allocations: 0 / 1.502 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.811, allocations: 3.984 kB / 1.502 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.826, allocations: 6.876 MB / 1.508 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04274/1.869, allocations: 7.874 MB / 1.516 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002775/1.872, allocations: 415.4 kB / 1.516 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04218/1.914, allocations: 7.439 MB / 1.524 GB, free: 6.129 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/1.915, allocations: 31.95 kB / 1.524 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00827/1.923, allocations: 4.135 MB / 1.528 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.923, allocations: 7.953 kB / 1.528 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04342/1.966, allocations: 8.094 MB / 1.536 GB, free: 9.781 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/1.968, allocations: 0.5462 MB / 1.536 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006429/1.969, allocations: 0 / 1.536 GB, free: 9.215 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005025/1.974, allocations: 0.6279 MB / 1.537 GB, free: 8.586 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/1.974, allocations: 44.7 kB / 1.537 GB, free: 8.543 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.974, allocations: 51.89 kB / 1.537 GB, free: 8.492 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00171/1.976, allocations: 0.7855 MB / 1.538 GB, free: 7.695 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.976, allocations: 0 / 1.538 GB, free: 7.695 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003458/1.98, allocations: 0.7605 MB / 1.538 GB, free: 6.934 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.0008237/1.981, allocations: 326.1 kB / 1.539 GB, free: 6.625 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.991, allocations: 5.971 MB / 1.545 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/1.991, allocations: 0 / 1.545 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.994, allocations: 1.503 MB / 1.546 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001521/1.996, allocations: 225.6 kB / 1.546 GB, free: 14.92 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00558/2.001, allocations: 2.64 MB / 1.549 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/2.003, allocations: 1.327 MB / 1.55 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004299/2.007, allocations: 0.9629 MB / 1.551 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/2.008, allocations: 99.33 kB / 1.551 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of SimCode: time 8.82e-07/2.008, allocations: 4 kB / 1.551 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of Templates: time 0.1048/2.113, allocations: 62.52 MB / 1.612 GB, free: 11.4 MB / 1.026 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","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches