Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Validation.HeatCapacityVariableShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.0008471, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.005394/0.005394, allocations: 171 kB / 16.27 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.000382, allocations: 8 kB / 0.8728 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7605/0.7609, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.002682/0.7636, allocations: 1.937 MB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.7648, allocations: 0.6893 MB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.765, allocations: 4 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.7654, allocations: 85.55 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.7655, allocations: 67.53 kB / 1.026 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 9.333e-05/0.7656, allocations: 35.97 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.7659, allocations: 191.1 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.7661, allocations: 74.23 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.7662, allocations: 63.72 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.7663, allocations: 79.56 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.7664, allocations: 8 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.303e-05/0.7664, allocations: 7.938 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.7664, allocations: 27.86 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.7665, allocations: 105.2 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.7668, allocations: 175.3 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.7668, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7668, allocations: 4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.7668, allocations: 0 / 1.026 GB, free: 12.22 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000772/0.7676, allocations: 462.8 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.7676, allocations: 12.02 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.7677, allocations: 24.66 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.7681, allocations: 252.5 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.7681, allocations: 12.38 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.7681, allocations: 12.38 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.7685, allocations: 157.7 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.7685, allocations: 8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.7685, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7685, allocations: 4 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.7689, allocations: 119.9 kB / 1.027 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007555/0.7696, allocations: 0.5038 MB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.7701, allocations: 166.8 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.7703, allocations: 80.83 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.7703, allocations: 7.984 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7703, allocations: 34.56 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.7703, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0005424/0.7709, allocations: 204 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.7709, allocations: 55.41 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.7711, allocations: 160 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.7711, allocations: 29.69 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.7712, allocations: 124.2 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.7713, allocations: 55.2 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.7713, allocations: 21.7 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7715, allocations: 334.8 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.7716, allocations: 47.97 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.7718, allocations: 54.16 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.772, allocations: 122.2 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.772, allocations: 3.938 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003415/0.7724, allocations: 181.4 kB / 1.03 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.7724, allocations: 4 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7724, allocations: 3.938 kB / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7725, allocations: 0 / 1.03 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.7726, allocations: 43.92 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.964e-06/0.7727, allocations: 0 / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.7728, allocations: 23.83 kB / 1.03 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.7728, allocations: 8 kB / 1.03 GB, free: 8.723 MB / 0.7794 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.7729, allocations: 134.2 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.7729, allocations: 7.906 kB / 1.03 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.773, allocations: 21.52 kB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.773, allocations: 4 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.773, allocations: 4 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.773, allocations: 0 / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.7733, allocations: 257.4 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7733, allocations: 0 / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.7735, allocations: 43.97 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.7736, allocations: 7.984 kB / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7736, allocations: 0 / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7736, allocations: 0 / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7736, allocations: 0 / 1.03 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.7741, allocations: 340.2 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/0.7742, allocations: 100.9 kB / 1.031 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.7743, allocations: 4 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.7744, allocations: 15.98 kB / 1.031 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.7744, allocations: 7.984 kB / 1.031 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7744, allocations: 8 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001058/0.7745, allocations: 121.6 kB / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7746, allocations: 0 / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002501/0.7748, allocations: 47.84 kB / 1.031 GB, free: 7.531 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001389/0.775, allocations: 99.25 kB / 1.031 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.7753, allocations: 135.9 kB / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7753, allocations: 0 / 1.031 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.7755, allocations: 70.16 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.7758, allocations: 36.61 kB / 1.031 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.7769, allocations: 0.7009 MB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.7773, allocations: 0.7283 MB / 1.032 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.625e-05/0.7773, allocations: 17.53 kB / 1.032 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.7774, allocations: 15.44 kB / 1.032 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7774, allocations: 3.938 kB / 1.033 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.004061/0.7815, allocations: 1.342 MB / 1.034 GB, free: 4.355 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches