Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") translateModel(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extCon.air.T|extCon.glaUns.T|extCon.conWinUns.solid.T|extCon.conWinUns.fluid.T|extCon.frame.T|extCon.radOut.TRad|extCon.shaRad.TSha|extCon.glaSha.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.689/2.689, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001068/0.001068, allocations: 184.9 kB / 492.3 MB, free: 0.6289 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.654/1.654, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0009525/0.0009525, allocations: 91.47 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.928e-05/4.93e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3614, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.542, allocations: 159.2 MB / 1.368 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/1.542, allocations: 84 kB / 1.368 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05336/1.596, allocations: 23.14 MB / 1.39 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.693e-06/1.596, allocations: 0 / 1.39 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.915e-05/1.596, allocations: 19.56 kB / 1.39 GB, free: 29.84 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001152/1.597, allocations: 0.9184 MB / 1.391 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/1.597, allocations: 15.64 kB / 1.391 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/1.598, allocations: 213.3 kB / 1.392 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/1.598, allocations: 0.5068 MB / 1.392 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/1.598, allocations: 32.47 kB / 1.392 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.278e-05/1.598, allocations: 40.62 kB / 1.392 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/1.599, allocations: 426.8 kB / 1.393 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/1.599, allocations: 0 / 1.393 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/1.599, allocations: 20.42 kB / 1.393 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/1.599, allocations: 7.625 kB / 1.393 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/1.6, allocations: 314.7 kB / 1.393 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/1.602, allocations: 1.489 MB / 1.394 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/1.602, allocations: 260.2 kB / 1.395 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/1.603, allocations: 120.8 kB / 1.395 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/1.603, allocations: 4.078 kB / 1.395 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.603, allocations: 41.98 kB / 1.395 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/1.603, allocations: 0 / 1.395 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=28): time 0.0007968/1.603, allocations: 387.6 kB / 1.395 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/1.604, allocations: 80.92 kB / 1.395 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/1.604, allocations: 0.7685 MB / 1.396 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/1.604, allocations: 28.89 kB / 1.396 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/1.605, allocations: 428.3 kB / 1.396 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/1.605, allocations: 92.84 kB / 1.396 GB, free: 27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.659e-05/1.605, allocations: 3.688 kB / 1.396 GB, free: 27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.605, allocations: 321.6 kB / 1.397 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/1.605, allocations: 91.8 kB / 1.397 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/1.605, allocations: 122.7 kB / 1.397 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/1.605, allocations: 104.5 kB / 1.397 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/1.605, allocations: 0 / 1.397 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006711/1.606, allocations: 421 kB / 1.398 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/1.606, allocations: 104.5 kB / 1.398 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.606, allocations: 0 / 1.398 GB, free: 26.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/1.607, allocations: 81.61 kB / 1.398 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/1.607, allocations: 72.91 kB / 1.398 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004048/1.607, allocations: 0.6091 MB / 1.398 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/1.608, allocations: 100.6 kB / 1.398 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/1.608, allocations: 7.406 kB / 1.398 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/1.608, allocations: 4.844 kB / 1.398 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005904/1.609, allocations: 304.6 kB / 1.399 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/1.609, allocations: 0 / 1.399 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/1.609, allocations: 80.34 kB / 1.399 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/1.609, allocations: 78.19 kB / 1.399 GB, free: 25.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/1.611, allocations: 1.643 MB / 1.4 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/1.611, allocations: 73.27 kB / 1.401 GB, free: 24.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/1.611, allocations: 11.56 kB / 1.401 GB, free: 24.3 MB / 0.8386 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 (28): * Single equations (assignments): 27 * 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 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.611, allocations: 120.6 kB / 1.401 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.611, allocations: 92.91 kB / 1.401 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/1.612, allocations: 97.03 kB / 1.401 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.612, allocations: 3.844 kB / 1.401 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.612, allocations: 0 / 1.401 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/1.612, allocations: 7.922 kB / 1.401 GB, free: 24.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.613, allocations: 1.011 MB / 1.402 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.613, allocations: 7.938 kB / 1.402 GB, free: 23.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/1.613, allocations: 43.97 kB / 1.402 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/1.614, allocations: 88.05 kB / 1.402 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/1.614, allocations: 3.438 kB / 1.402 GB, free: 23.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/1.615, allocations: 1.644 MB / 1.404 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.615, allocations: 3.953 kB / 1.404 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007166/1.616, allocations: 0.5392 MB / 1.404 GB, free: 21.08 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/1.616, allocations: 187.6 kB / 1.404 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/1.616, allocations: 7.062 kB / 1.404 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/1.616, allocations: 42.06 kB / 1.404 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/1.616, allocations: 18.97 kB / 1.404 GB, free: 20.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/1.616, allocations: 12 kB / 1.404 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007172/1.617, allocations: 0.623 MB / 1.405 GB, free: 20.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.3e-07/1.617, allocations: 4 kB / 1.405 GB, free: 20.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007137/1.618, allocations: 277.6 kB / 1.405 GB, free: 20.09 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005343/1.618, allocations: 449 kB / 1.406 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008122/1.619, allocations: 0.5243 MB / 1.406 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.619, allocations: 3.938 kB / 1.406 GB, free: 19.33 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/1.619, allocations: 258 kB / 1.406 GB, free: 19.11 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/1.62, allocations: 141.4 kB / 1.407 GB, free: 19.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.622, allocations: 1.043 MB / 1.408 GB, free: 18.06 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/1.622, allocations: 1.057 MB / 1.409 GB, free: 17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0005544/1.623, allocations: 153.1 kB / 1.409 GB, free: 16.85 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/1.623, allocations: 31.44 kB / 1.409 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.623, allocations: 0 / 1.409 GB, free: 16.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.02499/1.648, allocations: 13.32 MB / 1.422 GB, free: 3.633 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches