Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001169/0.001169, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001228/0.001228, allocations: 172.7 kB / 15.95 MB, free: 208 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.5/1.5, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.813/2.813, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.0005081, allocations: 8 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4396, allocations: 159.6 MB / 1.058 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.00253/0.4422, allocations: 1.878 MB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.4433, allocations: 0.6702 MB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.4434, allocations: 4 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.4438, allocations: 91.58 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.119e-05/0.4439, allocations: 47.55 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.425e-05/0.444, allocations: 35.97 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.4442, allocations: 195 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4444, allocations: 58.53 kB / 1.061 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.4445, allocations: 59.73 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.4446, allocations: 79.61 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.4446, allocations: 8 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.53e-05/0.4447, allocations: 4 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.4447, allocations: 27.86 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.4448, allocations: 53.64 kB / 1.061 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.4449, allocations: 127.6 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4449, allocations: 0 / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.897e-06/0.4449, allocations: 8 kB / 1.061 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4449, allocations: 0 / 1.061 GB, free: 1.953 MB / 0.8106 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.0006811/0.4456, allocations: 474.6 kB / 1.062 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4457, allocations: 8.031 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.199e-05/0.4457, allocations: 35.66 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.4461, allocations: 232.1 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.4461, allocations: 19.89 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.4461, allocations: 12 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.4465, allocations: 153.4 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.4465, allocations: 4 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4465, allocations: 8 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4465, allocations: 4 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002854/0.4468, allocations: 115.9 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.4475, allocations: 0.504 MB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004221/0.448, allocations: 177.9 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.4481, allocations: 79.08 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.4482, allocations: 4.047 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.4482, allocations: 34.56 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4482, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0005045/0.4487, allocations: 205.5 kB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.4488, allocations: 59.41 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4489, allocations: 155.3 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.4489, allocations: 25.7 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.449, allocations: 136.1 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.4491, allocations: 55.2 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.4491, allocations: 4 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4492, allocations: 326.8 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.4493, allocations: 51.91 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.4494, allocations: 55.97 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.4496, allocations: 62.08 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4496, allocations: 3.953 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003036/0.4499, allocations: 169.5 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.4499, allocations: 4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4499, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4499, allocations: 0 / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4501, allocations: 51.91 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4501, allocations: 3.984 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.455e-05/0.4502, allocations: 23.83 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4503, allocations: 4 kB / 1.064 GB, free: 14.52 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.4504, allocations: 125.8 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4504, allocations: 15.86 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.4505, allocations: 21.52 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4505, allocations: 4 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4505, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.4505, allocations: 0 / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.4508, allocations: 253.5 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4508, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.451, allocations: 43.88 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.451, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.451, allocations: 8 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.451, allocations: 3.984 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.451, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.4516, allocations: 335.5 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.4516, allocations: 108.8 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.4517, allocations: 7.953 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.4518, allocations: 11.98 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.4518, allocations: 15.98 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4519, allocations: 4 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.234e-05/0.4519, allocations: 120.9 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4519, allocations: 0 / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002601/0.4522, allocations: 43.84 kB / 1.065 GB, free: 13.34 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.4523, allocations: 99.25 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.4527, allocations: 131.9 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4527, allocations: 3.938 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.4528, allocations: 67.91 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.4532, allocations: 31.86 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4543, allocations: 0.6951 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.4547, allocations: 0.7246 MB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.626e-05/0.4547, allocations: 17.55 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.4548, allocations: 15.44 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4548, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.004461/0.4593, allocations: 1.297 MB / 1.068 GB, free: 10.25 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches