Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001055/0.001055, allocations: 180.9 kB / 492.3 MB, free: 0.6133 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.664/1.664, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009129/0.000913, allocations: 91.72 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.672e-05/3.675e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3546, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.535, allocations: 154.6 MB / 1.363 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.536, allocations: 83.84 kB / 1.363 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01877/1.554, allocations: 6.691 MB / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.625e-06/1.555, allocations: 0 / 1.37 GB, free: 34.18 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.54e-05/1.555, allocations: 7.844 kB / 1.37 GB, free: 34.18 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008856/1.555, allocations: 0.6234 MB / 1.371 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.555, allocations: 7.531 kB / 1.371 GB, free: 33.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/1.556, allocations: 53.52 kB / 1.371 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/1.556, allocations: 324.5 kB / 1.371 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/1.556, allocations: 22 kB / 1.371 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/1.556, allocations: 36 kB / 1.371 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/1.557, allocations: 351.4 kB / 1.371 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.557, allocations: 0 / 1.371 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.231e-05/1.557, allocations: 14.69 kB / 1.371 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/1.557, allocations: 19.52 kB / 1.371 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/1.557, allocations: 235.7 kB / 1.372 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/1.559, allocations: 1.472 MB / 1.373 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/1.559, allocations: 269.4 kB / 1.373 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000296/1.56, allocations: 164.7 kB / 1.374 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/1.56, allocations: 4.047 kB / 1.374 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/1.56, allocations: 40.38 kB / 1.374 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.302e-06/1.56, allocations: 0 / 1.374 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0009638/1.561, allocations: 409.7 kB / 1.374 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.561, allocations: 59.12 kB / 1.374 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/1.561, allocations: 320.8 kB / 1.374 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.561, allocations: 32.77 kB / 1.374 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/1.561, allocations: 213.1 kB / 1.375 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/1.561, allocations: 90.67 kB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/1.561, allocations: 7.5 kB / 1.375 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.561, allocations: 346.7 kB / 1.375 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/1.562, allocations: 79.48 kB / 1.375 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.562, allocations: 142.5 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/1.562, allocations: 105.1 kB / 1.375 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.562, allocations: 3.938 kB / 1.375 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008683/1.563, allocations: 459.4 kB / 1.376 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002072/1.563, allocations: 0.5319 MB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.563, allocations: 7.844 kB / 1.376 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/1.564, allocations: 176.1 kB / 1.376 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/1.564, allocations: 45.53 kB / 1.376 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007257/1.565, allocations: 0.7821 MB / 1.377 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/1.565, allocations: 44.56 kB / 1.377 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/1.565, allocations: 11.53 kB / 1.377 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/1.565, allocations: 11.88 kB / 1.377 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008112/1.566, allocations: 390.9 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-06/1.566, allocations: 3.844 kB / 1.378 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/1.566, allocations: 193 kB / 1.378 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/1.567, allocations: 36.83 kB / 1.378 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/1.569, allocations: 2.358 MB / 1.38 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/1.569, allocations: 37.88 kB / 1.38 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/1.57, allocations: 10.47 kB / 1.38 GB, free: 28.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.57, allocations: 120.3 kB / 1.38 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/1.57, allocations: 42.8 kB / 1.38 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/1.57, allocations: 53.28 kB / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.57, allocations: 0 / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.57, allocations: 0 / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.57, allocations: 0 / 1.38 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/1.57, allocations: 411 kB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.57, allocations: 5.438 kB / 1.381 GB, free: 28.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.57, allocations: 31.72 kB / 1.381 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005558/1.571, allocations: 180.2 kB / 1.381 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/1.571, allocations: 7.141 kB / 1.381 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/1.574, allocations: 2.359 MB / 1.383 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.574, allocations: 4 kB / 1.383 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008666/1.575, allocations: 0.5016 MB / 1.384 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/1.575, allocations: 135.9 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/1.575, allocations: 10.98 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/1.575, allocations: 18.22 kB / 1.384 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/1.575, allocations: 26.69 kB / 1.384 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/1.575, allocations: 6.719 kB / 1.384 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002619/1.575, allocations: 253.6 kB / 1.384 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.724e-06/1.575, allocations: 0 / 1.384 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005771/1.576, allocations: 217 kB / 1.384 GB, free: 26.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/1.576, allocations: 105.9 kB / 1.385 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001063/1.577, allocations: 0.5616 MB / 1.385 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.577, allocations: 0.625 kB / 1.385 GB, free: 26.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/1.578, allocations: 308.4 kB / 1.385 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/1.578, allocations: 84.45 kB / 1.386 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009513/1.579, allocations: 489.6 kB / 1.386 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/1.579, allocations: 0.8161 MB / 1.387 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002147/1.58, allocations: 50.7 kB / 1.387 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/1.58, allocations: 19.12 kB / 1.387 GB, free: 25.51 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.58, allocations: 3.938 kB / 1.387 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of Templates: time 0.01205/1.592, allocations: 7.587 MB / 1.394 GB, free: 22.64 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches