Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007071/0.007071, allocations: 105 kB / 15.73 MB, free: 6.055 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.00163/0.00163, allocations: 191.3 kB / 16.67 MB, free: 5.977 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.528/2.528, allocations: 469.4 MB / 0.7421 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.84 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.733/0.7342, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004262/0.7385, allocations: 3.025 MB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001769/0.7403, allocations: 0.9073 MB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003489/0.7407, allocations: 4 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.7413, allocations: 123.1 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.7417, allocations: 138.9 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.742, allocations: 95.81 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005886/0.7426, allocations: 457.8 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.7429, allocations: 152.5 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.7431, allocations: 163.4 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.7434, allocations: 175.2 kB / 1.225 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.7434, allocations: 32 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.612e-05/0.7435, allocations: 32 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.7435, allocations: 79.62 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.7437, allocations: 195.1 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004032/0.7441, allocations: 407.2 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7441, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7441, allocations: 0 / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7442, allocations: 4 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008974/0.7451, allocations: 0.6431 MB / 1.226 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7451, allocations: 12.56 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.7452, allocations: 78.72 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.076e-05/0.7453, allocations: 44.66 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.7457, allocations: 308.6 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.7458, allocations: 29.31 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.7458, allocations: 40.33 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.7463, allocations: 370.8 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.7464, allocations: 7.938 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.7464, allocations: 12 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.7464, allocations: 12 kB / 1.227 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.7468, allocations: 204.6 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.7482, allocations: 1.482 MB / 1.229 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.7486, allocations: 286.5 kB / 1.229 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.7487, allocations: 115.5 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.7488, allocations: 7.938 kB / 1.229 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.7488, allocations: 50.48 kB / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/0.7488, allocations: 0 / 1.229 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.0005142/0.7493, allocations: 269.4 kB / 1.229 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.7494, allocations: 136.5 kB / 1.23 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.7496, allocations: 234.6 kB / 1.23 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.7496, allocations: 33.7 kB / 1.23 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.7498, allocations: 200.4 kB / 1.23 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.7498, allocations: 115 kB / 1.23 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/0.7499, allocations: 66.03 kB / 1.23 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.75, allocations: 342.8 kB / 1.23 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.7502, allocations: 68.72 kB / 1.231 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.7503, allocations: 150 kB / 1.231 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.7506, allocations: 240.4 kB / 1.231 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7506, allocations: 0 / 1.231 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000406/0.751, allocations: 305.2 kB / 1.231 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.7511, allocations: 8 kB / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.7511, allocations: 3.984 kB / 1.231 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.7511, allocations: 4 kB / 1.231 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.7514, allocations: 87.91 kB / 1.231 GB, free: 6.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.7515, allocations: 11.94 kB / 1.231 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.7516, allocations: 35.94 kB / 1.231 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.7516, allocations: 8 kB / 1.231 GB, free: 5.953 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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.0001285/0.7518, allocations: 153.7 kB / 1.232 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.7519, allocations: 35.73 kB / 1.232 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.71e-05/0.7519, allocations: 29.72 kB / 1.232 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.752, allocations: 4 kB / 1.232 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.752, allocations: 7.922 kB / 1.232 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.752, allocations: 4 kB / 1.232 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.7525, allocations: 342.1 kB / 1.232 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7525, allocations: 7.938 kB / 1.232 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.7529, allocations: 79.91 kB / 1.232 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7529, allocations: 4 kB / 1.232 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.7529, allocations: 8 kB / 1.232 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.7529, allocations: 4 kB / 1.232 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7529, allocations: 7.984 kB / 1.232 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005343/0.7535, allocations: 0.6348 MB / 1.233 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.7536, allocations: 120.8 kB / 1.233 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.7536, allocations: 8 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.7539, allocations: 8 kB / 1.233 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.7539, allocations: 19.97 kB / 1.233 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.7539, allocations: 8 kB / 1.233 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001417/0.7541, allocations: 174 kB / 1.233 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7541, allocations: 0 / 1.233 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00048/0.7545, allocations: 95.83 kB / 1.233 GB, free: 4.117 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.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 (30): * Single equations (assignments): 30 * 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.0007853/0.7553, allocations: 1.178 MB / 1.234 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.7557, allocations: 207.8 kB / 1.234 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.7557, allocations: 0 / 1.234 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.7558, allocations: 103.7 kB / 1.234 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006347/0.7565, allocations: 54.39 kB / 1.235 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.7602, allocations: 3.568 MB / 1.238 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.7606, allocations: 0.791 MB / 1.239 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.7607, allocations: 38.95 kB / 1.239 GB, free: 14 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.7608, allocations: 103.4 kB / 1.239 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of SimCode: time 6.31e-07/0.7608, allocations: 0 / 1.239 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.7833, allocations: 5.761 MB / 1.245 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.731/8.514, allocations: 6.812 kB / 1.245 GB, free: 8.34 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches