Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001501/0.001502, allocations: 177.3 kB / 15.94 MB, free: 228 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.349/1.349, allocations: 223.2 MB / 239.9 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.448/2.448, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 15.98 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6455/0.6458, allocations: 153.7 MB / 1.021 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.002848/0.6487, allocations: 2.432 MB / 1.023 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.6499, allocations: 0.7758 MB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.6501, allocations: 4 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.6503, allocations: 39.62 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002849/0.6506, allocations: 147.6 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.6509, allocations: 119.7 kB / 1.024 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003879/0.6513, allocations: 340.3 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.6515, allocations: 149.7 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002294/0.6518, allocations: 163.4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.652, allocations: 179.1 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.652, allocations: 20 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.6521, allocations: 16 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.6522, allocations: 71.62 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.6523, allocations: 89.52 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.6526, allocations: 317.1 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.6526, allocations: 3.938 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.6526, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.6526, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 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.001062/0.6537, allocations: 0.6798 MB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6537, allocations: 15.98 kB / 1.026 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.671e-05/0.6538, allocations: 51.44 kB / 1.026 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.6542, allocations: 302.2 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.6542, allocations: 25 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.6543, allocations: 39.95 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.6549, allocations: 380.9 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6549, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.655, allocations: 16 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.655, allocations: 8 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.6555, allocations: 274.4 kB / 1.027 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.6573, allocations: 1.464 MB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.6579, allocations: 283.4 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.6579, allocations: 12.22 kB / 1.029 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.658, allocations: 34.8 kB / 1.029 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.658, allocations: 0 / 1.029 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.003049/0.661, allocations: 0.8957 MB / 1.03 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.6611, allocations: 51.41 kB / 1.03 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.6614, allocations: 369.6 kB / 1.03 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.6615, allocations: 29.7 kB / 1.03 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.6616, allocations: 216.2 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.6617, allocations: 94.59 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.6617, allocations: 4 kB / 1.031 GB, free: 6.762 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6618, allocations: 346.8 kB / 1.031 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.662, allocations: 96.52 kB / 1.031 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.6623, allocations: 167.9 kB / 1.031 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.6626, allocations: 119.9 kB / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6626, allocations: 0 / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001151/0.6637, allocations: 486.5 kB / 1.032 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.664, allocations: 0.5338 MB / 1.032 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.664, allocations: 4 kB / 1.032 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007694/0.6647, allocations: 182.9 kB / 1.032 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.6649, allocations: 43.91 kB / 1.033 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/0.6683, allocations: 2.527 MB / 1.035 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.6687, allocations: 39.67 kB / 1.035 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.6688, allocations: 11.98 kB / 1.035 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.6688, allocations: 7.938 kB / 1.035 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001071/0.6698, allocations: 436.6 kB / 1.035 GB, free: 1.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6699, allocations: 8.031 kB / 1.035 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.6705, allocations: 176.6 kB / 1.036 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.6707, allocations: 43.91 kB / 1.036 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.6737, allocations: 2.433 MB / 1.038 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.6741, allocations: 51.75 kB / 1.038 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.6741, allocations: 8 kB / 1.038 GB, free: 14.75 MB / 0.795 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 () * Number of clocked 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.000228/0.6744, allocations: 233 kB / 1.038 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.6745, allocations: 39.53 kB / 1.038 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.6746, allocations: 52.14 kB / 1.038 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.6746, allocations: 0 / 1.038 GB, free: 14.42 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6746, allocations: 3.984 kB / 1.038 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.6746, allocations: 8 kB / 1.038 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.6751, allocations: 413.6 kB / 1.039 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6751, allocations: 0 / 1.039 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.6752, allocations: 23.98 kB / 1.039 GB, free: 13.93 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006351/0.6758, allocations: 180.6 kB / 1.039 GB, free: 13.75 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6759, allocations: 7.938 kB / 1.039 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002907/0.6788, allocations: 2.432 MB / 1.041 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6788, allocations: 3.984 kB / 1.041 GB, free: 11.17 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6799, allocations: 0.5472 MB / 1.042 GB, free: 10.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.6801, allocations: 136.5 kB / 1.042 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.6801, allocations: 4 kB / 1.042 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.6804, allocations: 23.89 kB / 1.042 GB, free: 10.42 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.6805, allocations: 27.95 kB / 1.042 GB, free: 10.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.6805, allocations: 8 kB / 1.042 GB, free: 10.39 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002479/0.6808, allocations: 251.2 kB / 1.042 GB, free: 10.14 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6808, allocations: 0 / 1.042 GB, free: 10.14 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007236/0.6815, allocations: 259.7 kB / 1.043 GB, free: 9.891 MB / 0.795 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 () * Number of clocked 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.0001261/0.6816, allocations: 103.2 kB / 1.043 GB, free: 9.781 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001353/0.683, allocations: 0.7749 MB / 1.043 GB, free: 8.98 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.683, allocations: 0 / 1.043 GB, free: 8.98 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.6835, allocations: 335 kB / 1.044 GB, free: 8.641 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.684, allocations: 89.41 kB / 1.044 GB, free: 8.551 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.6852, allocations: 0.8047 MB / 1.045 GB, free: 7.719 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.6856, allocations: 0.8233 MB / 1.045 GB, free: 6.867 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001472/0.6857, allocations: 39.27 kB / 1.045 GB, free: 6.828 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.6858, allocations: 19.44 kB / 1.046 GB, free: 6.809 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.6858, allocations: 3.938 kB / 1.046 GB, free: 6.805 MB / 0.795 GB Notification: Performance of Templates: time 0.01233/0.6981, allocations: 7.7 MB / 1.053 GB, free: 15.2 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches